club: add club logo

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia
2017-09-25 20:13:35 +02:00
parent 49b77480e6
commit a2dc00f4e5
3 changed files with 21 additions and 1 deletions

View File

@ -57,6 +57,7 @@ class Club(models.Model):
'unique': _("A club with that unix name already exists."),
},
)
logo = models.ImageField(upload_to='club_logos', verbose_name=_('logo'), null=True, blank=True)
address = models.CharField(_('address'), max_length=254)
# email = models.EmailField(_('email address'), unique=True) # This should, and will be generated automatically
owner_group = models.ForeignKey(Group, related_name="owned_club",