summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshen2019-05-13 11:14:59 +0530
committerGitHub2019-05-13 11:14:59 +0530
commitcf1fa8db2247fe7ad85cd87a52fb778274db8850 (patch)
tree1f794979329fdb8c4c8e86c4f01be6b81110eece
parentf3e3763d36be7fd06697c8dd0509c9913f1fb0da (diff)
parentde7e3898ccb851dda8b5f9e69023d4b630e5f080 (diff)
downloadFOSSEE_animations-cf1fa8db2247fe7ad85cd87a52fb778274db8850.tar.gz
FOSSEE_animations-cf1fa8db2247fe7ad85cd87a52fb778274db8850.tar.bz2
FOSSEE_animations-cf1fa8db2247fe7ad85cd87a52fb778274db8850.zip
Merge pull request #9 from Akshen/develop
forms.py error fixed
-rw-r--r--fossee_manim/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fossee_manim/forms.py b/fossee_manim/forms.py
index 7543935..a1922ff 100644
--- a/fossee_manim/forms.py
+++ b/fossee_manim/forms.py
@@ -179,8 +179,7 @@ class UserRegistrationForm(forms.Form):
new_profile.location = cleaned_data["location"]
new_profile.title = cleaned_data["title"]
new_profile.state = cleaned_data["state"]
- new_profile.how_did_you_hear_about_us = cleaned_data
- ["how_did_you_hear_about_us"]
+ new_profile.how_did_you_hear_about_us = cleaned_data["how_did_you_hear_about_us"]
new_profile.activation_key = generate_activation_key(new_user.username)
new_profile.key_expiry_time = timezone.now() + timezone.timedelta(
days=1)