mirror of https://gitlab.crans.org/bde/nk20
Uncomment required line
This commit is contained in:
parent
9cd050e2f0
commit
b23237f669
|
@ -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…
Reference in New Issue