X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/a1fc6bb1bbb481ba116d8873ffd7cb3f4f0a6488..c75a826660e072154b4f1f9cdf455cb9765e1fc4:/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']