Browse Source

Adapt admin configs to Django 1.8

from Django ChangeLog:

> Creating a ModelForm without either the 'fields' attribute or the 'exclude'
> attribute is prohibited

 ref #13
Jocelyn Delalande 8 years ago
parent
commit
a5444e4157
1 changed files with 1 additions and 0 deletions
  1. 1 0
      coin/isp_database/admin.py

+ 1 - 0
coin/isp_database/admin.py

@@ -12,6 +12,7 @@ class ISPAdminForm(ModelForm):
 
     class Meta:
         model = ISPInfo
+        exclude = []
 
     phone_number = FRPhoneNumberField(required=False,
                                       help_text='Main contact phone number')