Fix register form to not display all django fields.
authorgibus
Thu, 20 Feb 2014 10:07:49 +0100
changeset 580 f634a302c45e
parent 579 869f02c75687
child 581 d50d457e7e39
Fix register form to not display all django fields.
src/cm/views/user.py
--- a/src/cm/views/user.py	Tue Feb 18 19:27:58 2014 +0100
+++ b/src/cm/views/user.py	Thu Feb 20 10:07:49 2014 +0100
@@ -217,6 +217,7 @@
 class UserProfileRegisterForm(ModelForm):
     class Meta:
         model = UserProfile
+        fields = ()
 
 class UserAddForm(forms.Form):
     note = forms.CharField(label=ugettext_lazy(u'Note'),