mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Remove unnecessary create_user_profile argument.
Signed-off-by: Tim Abbott <tabbott@humbughq.com> (imported from commit 0b12743f8b1b9c2bcfe8444b3e025d31b704bb12)
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user