summaryrefslogtreecommitdiff
path: root/app/taxonomy/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/taxonomy/models.py')
-rw-r--r--app/taxonomy/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/taxonomy/models.py b/app/taxonomy/models.py
index 9479a7f..4db3294 100644
--- a/app/taxonomy/models.py
+++ b/app/taxonomy/models.py
@@ -27,8 +27,9 @@ class TaggedItems(GenericTaggedItemBase):
class Category(models.Model):
""" Generic model for Categories """
name = models.CharField(max_length=250)
- color_rgb = models.CharField(max_length=20, blank=True)
+ pluralized_name = models.CharField(max_length=60, null=True)
slug = models.SlugField(blank=True)
+ color_rgb = models.CharField(max_length=20, blank=True)
date_created = models.DateTimeField(blank=True, auto_now_add=True, editable=False)
date_updated = models.DateTimeField(blank=True, auto_now=True, editable=False)