Temp fix for cache bug

This commit is contained in:
cuom1999 2024-07-09 00:08:25 -05:00
parent 08ede3f797
commit c00db58cb1

View file

@ -274,7 +274,10 @@ class Profile(models.Model):
@cached_property @cached_property
def username(self): def username(self):
try:
return self._cached_info["username"] return self._cached_info["username"]
except KeyError:
_get_basic_info.dirty(self.id)
@cached_property @cached_property
def first_name(self): def first_name(self):