Fix registration

This commit is contained in:
cuom1999 2023-10-10 20:28:16 -05:00
parent 5741866c07
commit 94395ae71a

View file

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