mirror of https://github.com/zulip/zulip.git
Remove unnecessary create_user_profile argument.
Signed-off-by: Tim Abbott <tabbott@humbughq.com> (imported from commit 0b12743f8b1b9c2bcfe8444b3e025d31b704bb12)
This commit is contained in:
parent
74219b5e08
commit
23af7f09ec
|
@ -20,7 +20,7 @@ class Zephyr(models.Model):
|
|||
content = models.CharField(max_length=200)
|
||||
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."""
|
||||
u = kwargs["instance"]
|
||||
if not UserProfile.objects.filter(user=u):
|
||||
|
|
Loading…
Reference in New Issue