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

Fix ImageFields

parent 05b16a20
No related branches found
No related tags found
1 merge request!809Resolve "Add avatar field to Person and Group"
Pipeline #49382 canceled
......@@ -201,7 +201,7 @@ class Person(ExtensibleModel):
place_of_birth = models.CharField(verbose_name=_("Place of birth"), max_length=255, blank=True)
sex = models.CharField(verbose_name=_("Sex"), max_length=1, choices=SEX_CHOICES, blank=True)
photo = ImageField(
photo = models.ImageField(
verbose_name=_("Photo"),
blank=True,
null=True,
......@@ -492,7 +492,7 @@ class Group(SchoolTermRelatedExtensibleModel):
AdditionalField, verbose_name=_("Additional fields"), blank=True
)
photo = ImageField(
photo = models.ImageField(
verbose_name=_("Photo"),
blank=True,
null=True,
......
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