summaryrefslogtreecommitdiff
path: root/app/jrnl/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r--app/jrnl/models.py7
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")