From: Guillaume Pellerin Date: Mon, 9 Feb 2015 12:40:36 +0000 (+0100) Subject: no country in registration X-Git-Tag: 1.1~285 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=777e23e8b04501776d120a81dd2e1e992bea2abd;p=teleforma.git no country in registration --- 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):