1
0
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:
Yohann D'ANELLO 2020-02-27 16:26:07 +01:00
parent 9cd050e2f0
commit b23237f669

View File

@ -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()