X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fpatchwork%2Fforms.py;h=a758d462359a8502fc4b401c3198a2dce001af8b;hb=6a2a96299d4802cb4fb82891daf6f81ff33ba4e0;hp=ed55c4fc0bbdb1d6bdd15ed831343b0272037afb;hpb=c561ebe710d6e6a43aa4afc6c2036a215378ce87;p=patchwork diff --git a/apps/patchwork/forms.py b/apps/patchwork/forms.py index ed55c4f..a758d46 100644 --- a/apps/patchwork/forms.py +++ b/apps/patchwork/forms.py @@ -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']