From a377f45e0bc2853430287c71089f0bcddad7442f Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 10 Oct 2023 20:31:25 -0500 Subject: [PATCH] Another fix --- judge/models/profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/models/profile.py b/judge/models/profile.py index 8647206..05c5770 100644 --- a/judge/models/profile.py +++ b/judge/models/profile.py @@ -544,7 +544,7 @@ def on_user_save(sender, instance, **kwargs): if instance.id is None: return profile = instance.profile - profile._get_user.dirty(profile) + profile._get_basic_info.dirty(profile) @receiver([pre_save], sender=Profile) @@ -553,4 +553,4 @@ def on_profile_save(sender, instance, **kwargs): return prev = sender.objects.get(id=instance.id) if prev.mute != instance.mute or prev.profile_image != instance.profile_image: - instance._get_user.dirty(instance) + instance._get_basic_info.dirty(instance)