mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-27 02:43:01 +00:00
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
Block a user