Fix forms issue in Django 1.6+.
authorJason Stephenson <jason@sigio.com>
Mon, 5 Mar 2018 18:59:50 +0000 (13:59 -0500)
committerJason Stephenson <jason@sigio.com>
Mon, 5 Mar 2018 19:14:02 +0000 (14:14 -0500)
commit4a7e3a9efd0e948caf092ce1b10f51ef22a44bac
treee9ad37776c259faa79ab6464a247f2ad85ab3769
parent299ce886d87d0243843dbbe77c4e48a87f3f0f31
Fix forms issue in Django 1.6+.

In Django 1.6, you must explicitly declare that you want to use all
fields from the model on a ModelForm.  Prior to Django 1.6, this was
not necessary.

Fixes the following errors:

    ImproperlyConfigured: Creating a ModelForm without either the
    'fields' attribute or the 'exclude' attribute is prohibited; form
    MembershipAdminForm needs updating.

    ImproperlyConfigured: Creating a ModelForm without either the
    'fields' attribute or the 'exclude' attribute is prohibited; form
    UserProfileAdminForm needs updating.

Signed-off-by: Jason Stephenson <jason@sigio.com>
conifer/syrup/admin.py