modal + link caching
This commit is contained in:
@ -26,8 +26,9 @@ class Category(models.Model):
|
||||
class Recipe(models.Model):
|
||||
name = models.CharField(max_length=64)
|
||||
path = models.CharField(max_length=512, default="")
|
||||
link = models.CharField(max_length=512, default="")
|
||||
category = models.ForeignKey(Category, on_delete=models.CASCADE)
|
||||
keywords = models.ManyToManyField(Keyword)
|
||||
keywords = models.ManyToManyField(Keyword, blank=True)
|
||||
created_by = models.IntegerField(default=0)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
Reference in New Issue
Block a user