From 93fa07301ca398993ee62f7130645fe37709bd10 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Fri, 23 Oct 2015 20:05:08 +0000 Subject: [PATCH] Make i2phostAdminForm compatible with django 1.8 django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form i2phostAdminForm needs updating. --- pyi2phosts/postkey/admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyi2phosts/postkey/admin.py b/pyi2phosts/postkey/admin.py index e5008d6..547d187 100644 --- a/pyi2phosts/postkey/admin.py +++ b/pyi2phosts/postkey/admin.py @@ -10,8 +10,6 @@ from pyi2phosts.lib.validation import validate_b64hash class i2phostAdminForm(forms.ModelForm): """ Custom form for editing hosts via admin interface """ - class Meta: - model = i2phost def clean_name(self): """Validate hostname"""