diff options
author | luxagraf <sng@luxagraf.net> | 2016-10-10 08:03:52 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-10-10 08:03:52 -0400 |
commit | 4f139b09fd16cd0dd59788d1d37beae4cf184fb6 (patch) | |
tree | 5221620658537523089b6c05fa825c5fd768fba2 /app/jrnl/models.py | |
parent | 3982aeb761dabbf7ec84e51813bf9b07531d332a (diff) |
started work on light version of homepage and made it possble for me to
put links in comments
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r-- | app/jrnl/models.py | 7 |
1 files changed, 3 insertions, 4 deletions
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") |