From 777e23e8b04501776d120a81dd2e1e992bea2abd Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 9 Feb 2015 13:40:36 +0100 Subject: [PATCH] no country in registration --- teleforma/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/forms.py b/teleforma/forms.py index e5f5c085..c434d503 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -28,7 +28,7 @@ class ProfileForm(ModelForm): class Meta: model = Profile exclude = ['user', 'wifi_login', 'wifi_pass', 'language', 'expiration_date', - 'init_password', 'country' ] + 'init_password', ] RegistrationForm.base_fields.update(ProfileForm.base_fields) @@ -56,7 +56,7 @@ class ProfileInline(InlineFormSet): model = Profile can_delete = False exclude = ['wifi_login', 'wifi_pass', 'language', 'expiration_date', - 'init_password', ] + 'init_password', 'country'] class StudentInline(InlineFormSet): -- 2.39.5