Commits

nik...@nikolas-H67MA-USB3-B3  committed 7d92113

profile

  • Participants
  • Parent commits d6e4791

Comments (0)

Files changed (1)

File vk_iframe/backends.py

 
         user, created = User.objects.get_or_create(username=username, defaults=defaults)
         if created:
-            user.profile.soc_id = username
-            user.profile.save()
+            profile = user.profile
+            profile.soc_id = username
+            profile.save()
             user = self.configure_user(vk_profile, user)
         return user