Skip to content
Browse files

fixed form field signup_code to code

  • Loading branch information...
1 parent 7a7555f commit bff0af8b48466b0f3fa3faaf23748e9fc7917c92 @jtauber jtauber committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 waitinglist/models.py
View
2 waitinglist/models.py
@@ -86,7 +86,7 @@ class UserCohort(models.Model):
@receiver(user_signed_up)
def handle_user_signup(sender, **kwargs):
- signup_code = kwargs["form"].cleaned_data["signup_code"]
+ signup_code = kwargs["form"].cleaned_data["code"]
# fetch the cohort for the signup code
qs = SignupCodeCohort.objects.select_related("cohort")
cohort = qs.get(signup_code=signup_code).cohort

0 comments on commit bff0af8

Please sign in to comment.
Something went wrong with that request. Please try again.