X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4fae06ea1b9fec1a45482ac043aa049ebce3f465..971e08cc34959303fbbc8bc50742c9fbe1d66f53:/src/documents/forms.py?ds=inline 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)