Fix registration
This commit is contained in:
parent
5741866c07
commit
94395ae71a
1 changed files with 2 additions and 0 deletions
|
@ -541,6 +541,8 @@ class OrganizationProfile(models.Model):
|
|||
|
||||
@receiver([post_save], sender=User)
|
||||
def on_user_save(sender, instance, **kwargs):
|
||||
if instance.id is None:
|
||||
return
|
||||
profile = instance.profile
|
||||
profile._get_user.dirty(profile)
|
||||
|
||||
|
|
Loading…
Reference in a new issue