Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed receiver bits in models.py

  • Loading branch information...
commit 2d5a1f4105578cced23cc22505e0a0f00025073a 1 parent 8f544e6
@brosner brosner authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.