diff options
author | luxagraf <sng@luxagraf.net> | 2016-11-19 20:11:07 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-11-19 20:11:07 -0500 |
commit | 5a6272c17ac1556751f4019554ee0aa40bee4295 (patch) | |
tree | ed0e123d97a0030252be619ff513f9fdfd3bd414 /app/jrnl | |
parent | eed8cea3b081def47bcd2998e4674bd36da2dd17 (diff) |
added new image dimension to admin
Diffstat (limited to 'app/jrnl')
-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 c009aea..4a2f8e8 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -69,7 +69,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 by 364px wide") + image = models.FileField(upload_to=get_upload_path, null=True, blank=True, help_text="should be 520 by 290") 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 = ( |