Skip to content

Commit

Permalink
Use updated rss cache name
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Nov 7, 2023
1 parent 9b1e9f3 commit 9d64ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions general/management/commands/create_front_page_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def handle(self, **options):
# Create one for Freeesound Nightingale frontend and one for BeastWhoosh
rss_cache_bw = render_to_string('molecules/news_cache.html', {'rss_url': settings.FREESOUND_RSS})
if len(rss_cache_bw.strip()):
cache.set("rss_cache_bw", rss_cache_bw, cache_time)
cache.set("rss_cache", rss_cache_bw, cache_time)
else:
cache.set("rss_cache_bw", None, cache_time)
cache.set("rss_cache", None, cache_time)

# Generate popular searches cache
# TODO: implement this properly if we want to add this functionality
Expand Down

0 comments on commit 9d64ffc

Please sign in to comment.