Fix register

This commit is contained in:
cuom1999 2023-10-11 00:21:21 -05:00
parent d4e0c5ca86
commit 130c96a2fe

View file

@ -12,7 +12,6 @@ from django.utils.timezone import now
from django.utils.translation import gettext_lazy as _
from django.dispatch import receiver
from django.db.models.signals import post_save, pre_save
from django.core.exceptions import RelatedObjectDoesNotExist
from fernet_fields import EncryptedCharField
@ -549,7 +548,7 @@ def on_user_save(sender, instance, **kwargs):
try:
profile = instance.profile
profile._get_basic_info.dirty(profile)
except RelatedObjectDoesNotExist:
except:
pass