diff options
Diffstat (limited to 'hyperkitty/models.py')
-rw-r--r-- | hyperkitty/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hyperkitty/models.py b/hyperkitty/models.py index dae055a..6a8bd63 100644 --- a/hyperkitty/models.py +++ b/hyperkitty/models.py @@ -61,6 +61,8 @@ class UserProfile(models.Model): except Rating.DoesNotExist: votes = {} + # TODO: warning, not thread-safe, should get the cached connection from + # the WSGI environment store = get_store(settings.KITTYSTORE_URL) for vote in votes: list_name = vote.list_address.split('@')[0] |