Added plural for Categories in model

This commit is contained in:
2020-06-07 10:18:39 +00:00
parent 7628eb2008
commit 54516e4330

View File

@@ -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)