X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4fae06ea1b9fec1a45482ac043aa049ebce3f465..87bd94a94dc6cc3dbf47db2bdd17761b3f400138:/src/documents/forms.py diff --git a/src/documents/forms.py b/src/documents/forms.py index 6598e75c..dccf0f09 100644 --- a/src/documents/forms.py +++ b/src/documents/forms.py @@ -151,7 +151,7 @@ class BookForm(forms.ModelForm): class Meta: model = Book - exclude = ['project'] + exclude = ['project', 'cover', 'legimi_id'] def __init__(self, *args, **kwargs): ret = super(BookForm, self).__init__(*args, **kwargs)