diff options
author | FOSSEE Git User | 2018-10-03 19:32:19 +0530 |
---|---|---|
committer | FOSSEE Git User | 2018-10-03 19:32:19 +0530 |
commit | 5745dfa4ebc5625f44ac237c2dee40d1f6b7af3a (patch) | |
tree | 932c65d01781a02f37834f65bc7c702d6b9b3abd /website/forms.py | |
parent | 7bc18d752c842ed4d4f2f70ccb166f84f80cfb06 (diff) | |
parent | 51d4feffd7f8210b0b865c279d76b1aa216649b9 (diff) | |
download | nccps-2018-5745dfa4ebc5625f44ac237c2dee40d1f6b7af3a.tar.gz nccps-2018-5745dfa4ebc5625f44ac237c2dee40d1f6b7af3a.tar.bz2 nccps-2018-5745dfa4ebc5625f44ac237c2dee40d1f6b7af3a.zip |
Merge branch 'master' of https://github.com/FOSSEE/nccps-2018
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 |