.
This commit is contained in:
+1
-1
@@ -576,4 +576,4 @@ def create_user_profile(sender, instance, created, **kwargs):
|
||||
|
||||
@receiver(post_save, sender=User)
|
||||
def save_user_profile(sender, instance, **kwargs):
|
||||
instance.profile.save()
|
||||
instance.userprofile.save()
|
||||
Reference in New Issue
Block a user