Remove unnecessary create_user_profile argument.

Signed-off-by: Tim Abbott <tabbott@humbughq.com>

(imported from commit 0b12743f8b1b9c2bcfe8444b3e025d31b704bb12)
This commit is contained in:
Tim Abbott 2012-08-28 17:12:14 -04:00
parent 74219b5e08
commit 23af7f09ec
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Zephyr(models.Model):
content = models.CharField(max_length=200) content = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published') pub_date = models.DateTimeField('date published')
def create_user_profile(sender, **kwargs): def create_user_profile(**kwargs):
"""When creating a new user, make a profile for him or her.""" """When creating a new user, make a profile for him or her."""
u = kwargs["instance"] u = kwargs["instance"]
if not UserProfile.objects.filter(user=u): if not UserProfile.objects.filter(user=u):