X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4fae06ea1b9fec1a45482ac043aa049ebce3f465..9d566b4741eb66bf09b5c7d213aa8541886e100a:/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)