From de7e3898ccb851dda8b5f9e69023d4b630e5f080 Mon Sep 17 00:00:00 2001 From: Akshen Date: Mon, 13 May 2019 11:10:39 +0530 Subject: forms.py error fixed --- fossee_manim/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fossee_manim/forms.py') 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) -- cgit