diff --git a/boards/models/post.py b/boards/models/post.py --- a/boards/models/post.py +++ b/boards/models/post.py @@ -431,11 +431,11 @@ class Thread(models.Model): Get first post of the thread """ - cache_key = CACHE_KEY_OPENING_POST + str(self.id) - opening_post = cache.get(cache_key) - if not opening_post: - opening_post = self.get_replies()[0] - cache.set(cache_key, opening_post) + # cache_key = CACHE_KEY_OPENING_POST + str(self.id) + # opening_post = cache.get(cache_key) + # if not opening_post: + opening_post = self.get_replies()[0] + # cache.set(cache_key, opening_post) return opening_post