Skip to content
Browse files

fixed receiver bits in models.py

  • Loading branch information...
1 parent 8f544e6 commit 2d5a1f4105578cced23cc22505e0a0f00025073a @brosner brosner committed Apr 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 waitinglist/models.py
View
3 waitinglist/models.py
@@ -1,4 +1,5 @@
from django.db import models
+from django.dispatch import receiver
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
@@ -75,7 +76,7 @@ class UserCohort(models.Model):
cohort = models.ForeignKey(Cohort)
-@reciever(user_signed_up)
+@receiver(user_signed_up)
def handle_user_signup(sender, **kwargs):
signup_code = kwargs["form"].cleaned_data["signup_code"]
# fetch the cohort for the signup code

0 comments on commit 2d5a1f4

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