diff options
author | luxagraf <sng@luxagraf.net> | 2016-05-17 11:02:31 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-05-17 11:02:31 -0400 |
commit | ee3db95b0deca7d7767bb62a073a80c3a3681eeb (patch) | |
tree | cb8257502540d28295e16b87cf621163f8ab58f1 /app/jrnl/models.py | |
parent | 5a4f7455ffb3c02d6ddf4fd67cba3f73d254f20b (diff) |
fixed a bug in amp builder and added a size hint to image upload on
post.
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r-- | app/jrnl/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py index 21b0c8c..44dae6e 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -99,7 +99,7 @@ class Entry(models.Model): ) status = models.IntegerField(choices=PUB_STATUS, default=0) photo_gallery = models.ForeignKey(PhotoGallery, blank=True, null=True, verbose_name='photo set') - image = models.FileField(upload_to=get_upload_path, null=True, blank=True, help_text="should be 205px high") + image = models.FileField(upload_to=get_upload_path, null=True, blank=True, help_text="should be 205px high by 364px wide") thumbnail = models.FileField(upload_to=get_tn_path, null=True, blank=True, help_text="should be 160 wide") meta_description = models.CharField(max_length=256, null=True, blank=True) TEMPLATES = ( |