diff options
Diffstat (limited to 'app/pages/models.py')
-rw-r--r-- | app/pages/models.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/pages/models.py b/app/pages/models.py index 73c33dd..fa2bbc3 100644 --- a/app/pages/models.py +++ b/app/pages/models.py @@ -7,12 +7,13 @@ from utils.util import markdown_to_html, render_images class Page(models.Model): title = models.CharField(max_length=200) + sub_title = models.CharField(max_length=300, blank=True) slug = models.SlugField() body_html = models.TextField(blank=True) body_markdown = models.TextField() - meta_description = models.CharField(max_length=256, null=True, blank=True) - path = models.CharField(max_length=200, null=True, blank=True) - app = models.CharField(max_length=50, null=True, blank=True) + meta_description = models.CharField(max_length=256, blank=True) + path = models.CharField(max_length=200, blank=True) + app = models.CharField(max_length=50, blank=True) build = models.BooleanField(default=True) def __str__(self): |