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
def username(self):
return self._cached_info["username"]
try:
return self._cached_info["username"]
except KeyError:
_get_basic_info.dirty(self.id)
@cached_property
def first_name(self):