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