From 4f139b09fd16cd0dd59788d1d37beae4cf184fb6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 10 Oct 2016 08:03:52 -0400 Subject: started work on light version of homepage and made it possble for me to put links in comments --- app/jrnl/models.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/jrnl/models.py') diff --git a/app/jrnl/models.py b/app/jrnl/models.py index 844db12..ceaefa6 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -228,12 +228,11 @@ class EntryAside(models.Model): class HomepageCurrator(models.Model): - alt_text = models.CharField(max_length=200) - image_base_url = models.CharField(max_length=200) + image_offset_vertical = models.CharField(max_length=20, help_text="add negative top margin to shift image (include css unit)") images = models.ManyToManyField(LuxImage) tag_line = models.CharField(max_length=200) - banner = models.ForeignKey(Entry, related_name="banner") - entry_list = models.ManyToManyField(Entry) + featured = models.ForeignKey(Entry, related_name="banner") + popular = models.ManyToManyField(Entry) template_name = models.CharField(max_length=200, help_text="full path") -- cgit v1.2.3-70-g09d2