X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/3017f6ff905303f7d664d6da40c471c2d86381e3..66639e61ca81cd591cddd58325fee1845eed8e30:/catalogue/models.py diff --git a/catalogue/models.py b/catalogue/models.py index 3ae4490..ae87ca8 100644 --- a/catalogue/models.py +++ b/catalogue/models.py @@ -11,6 +11,8 @@ class Section(models.Model): order = models.IntegerField() xml_file = models.FileField(upload_to="catalogue/section/xml", null=True, blank=True, max_length=255) + image = models.ImageField(upload_to="catalogue/section/image", + null=True, blank=True) class Meta: ordering = ['order']