Skip to content
Snippets Groups Projects
Commit 6ff7c265 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Add subtitle field to Category

parent 474e747e
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ class Type(models.Model):
class Category(models.Model):
name = models.CharField(max_length=32)
subtitle = models.TextField(blank=True, null=True)
slug = models.SlugField(max_length=32, unique=True)
is_active = models.BooleanField(default=True)
description = models.TextField(blank=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment