]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/forms.py
No help for now.
[patchwork] / apps / patchwork / forms.py
index ed55c4fc0bbdb1d6bdd15ed831343b0272037afb..a758d462359a8502fc4b401c3198a2dce001af8b 100644 (file)
@@ -19,7 +19,7 @@
 
 
 from django.contrib.auth.models import User
-from django import newforms as forms
+from django import forms
 
 from patchwork.models import RegistrationRequest, Patch, State, Bundle, \
          UserProfile
@@ -30,7 +30,7 @@ class RegisterForm(forms.ModelForm):
 
     class Meta:
         model = RegistrationRequest
-        exclude = ['key']
+        exclude = ['key', 'active', 'date']
 
     def clean_email(self):
         value = self.cleaned_data['email']