- changed title to ImproperlyConfigured exception with Django 1.8
- marked as major
- edited description
ImproperlyConfigured exception with Django 1.8
Issue #57
duplicate
Due last changes in Django 1.8 I've got an exception:
File "/Users/goodfellow/.virtualenvs/sarhiv/lib/python3.4/site-packages/postman/admin.py", line 11, in <module>
class MessageAdminForm(forms.ModelForm):
File "/Users/goodfellow/.virtualenvs/sarhiv/lib/python3.4/site-packages/django/forms/models.py", line 274, in __new__
"needs updating." % name
django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form MessageAdminForm needs updating.
It can be fixed with two lines: we just need to add 'exclude = []' or fields = 'all' in class Meta of MessageAdminForm and PendingMessageAdminForm
Comments (2)
-
repo owner -
repo owner - changed status to duplicate
Duplicate of
#55. - Log in to comment
Was already fixed in trunk after 3.2.0 ; and now in 3.2.1.