Skip to content

Commit

Permalink
remove url from python file
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-VM authored and luissian committed Nov 5, 2024
1 parent fe412f4 commit 4460b88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def get_lab_code(self):

@receiver(post_save, sender=User)
def create_or_update_user_profile(sender, instance, created, **kwargs):
# Source: https://stackoverflow.com/questions/52244032/i-keep-getting-relatedobjectdoesnotexist-at-admin-login-how-do-i-successfully
try:
instance.profile.save()
except ObjectDoesNotExist:
Expand Down

0 comments on commit 4460b88

Please sign in to comment.