diff options
Diffstat (limited to 'website/forms.py')
-rwxr-xr-x | website/forms.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/website/forms.py b/website/forms.py index 5631d46..d833979 100755 --- a/website/forms.py +++ b/website/forms.py @@ -376,4 +376,12 @@ class UserRegistrationForm(forms.Form): timezone.timedelta(days=1) new_profile.save() key = Profile.objects.get(user=new_user).activation_key - return u_name, pwd, key
\ No newline at end of file + return u_name, pwd, key + +#class QuestionForm(forms.ModelForm): + """Creates a form to add or edit a Question. + It has the related fields and functions required.""" + +""" class Meta: + model = Question + exclude = ['user', 'active'] """
\ No newline at end of file |