X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3d1fb545dd1f49e0624d3adf20e5568b1c33d8ec..0c10af94c3d8f16624d5a8ac775502f92c085cde:/apps/catalogue/models.py 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)