Uncomment required line
This commit is contained in:
parent
9cd050e2f0
commit
b23237f669
1 changed files with 1 additions and 1 deletions
|
|
@ -11,5 +11,5 @@ def save_user_profile(instance, created, raw, **_kwargs):
|
|||
|
||||
if created:
|
||||
from .models import Profile
|
||||
#Profile.objects.get_or_create(user=instance)
|
||||
Profile.objects.get_or_create(user=instance)
|
||||
instance.profile.save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue