Skip to content
Snippets Groups Projects
Verified Commit 0d6cf421 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix model field name. Advances #56.

parent 038360fc
No related branches found
No related tags found
1 merge request!36Resolve "Scale and maybe crop uploaded pictures"
......@@ -69,7 +69,7 @@ class Person(SchoolRelated):
sex = models.CharField(verbose_name=_(
'Sex'), max_length=1, choices=SEX_CHOICES, blank=True)
photo = models.ImageCropField(verbose_name=_('Photo'), blank=True, null=True)
photo = ImageCropField(verbose_name=_('Photo'), blank=True, null=True)
photo_cropping = ImageRatioField('photo', '600x800', size_warning=True)
import_ref = models.CharField(verbose_name=_(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment