diff options
author | Akshen | 2019-05-13 11:10:39 +0530 |
---|---|---|
committer | Akshen | 2019-05-13 11:10:39 +0530 |
commit | de7e3898ccb851dda8b5f9e69023d4b630e5f080 (patch) | |
tree | 1f794979329fdb8c4c8e86c4f01be6b81110eece /fossee_manim/forms.py | |
parent | ad9988dfda741390bfda4f9cf3c1ec3dc856fe25 (diff) | |
download | FOSSEE_animations-de7e3898ccb851dda8b5f9e69023d4b630e5f080.tar.gz FOSSEE_animations-de7e3898ccb851dda8b5f9e69023d4b630e5f080.tar.bz2 FOSSEE_animations-de7e3898ccb851dda8b5f9e69023d4b630e5f080.zip |
forms.py error fixed
Diffstat (limited to 'fossee_manim/forms.py')
-rw-r--r-- | fossee_manim/forms.py | 3 |
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) |