X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e793d09e4c0427fbac5e5471a35628261dd43c0..32e27db91137094ff6b8ebb4154cb44addb837e2:/apps/catalogue/models.py?ds=sidebyside diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index fd5dc987a..272228627 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -188,7 +188,7 @@ def book_upload_path(ext=None, maxlen=100): class BookMedia(models.Model): - type = models.CharField(_('type'), choices=MEDIA_FORMATS, max_length="100", editable=False) + type = models.CharField(_('type'), choices=MEDIA_FORMATS, max_length="100") name = models.CharField(_('name'), max_length="100") file = OverwritingFileField(_('file'), upload_to=book_upload_path()) uploaded_at = models.DateTimeField(_('creation date'), auto_now_add=True, editable=False)