]> git.parisson.com Git - teleforma.git/commitdiff
no country in registration
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 12:40:36 +0000 (13:40 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 12:40:36 +0000 (13:40 +0100)
teleforma/forms.py

index e5f5c085843310c9f4e1ba8d9ffbdb4a414d2ead..c434d503edae30f8a07e5871c7a793b6bb027524 100644 (file)
@@ -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):