Added plural for Categories in model
This commit is contained in:
@@ -35,6 +35,10 @@ class Category(models.Model):
|
|||||||
image = models.ImageField(null=True,blank=True) # Ein Haupt Bild für den Post
|
image = models.ImageField(null=True,blank=True) # Ein Haupt Bild für den Post
|
||||||
tags = TaggableManager(blank=True) # Tags
|
tags = TaggableManager(blank=True) # Tags
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name = "Category"
|
||||||
|
verbose_name_plural = "Categories"
|
||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
class Post(models.Model):
|
class Post(models.Model):
|
||||||
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
|
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user