Skip to content

Commit

Permalink
Turn off model caching in order to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
conatus authored Jul 31, 2024
1 parent 6c17afb commit c062e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_context(self, value, *args, **kwargs):
return ctx

def side_images_with_links(self, images):
@django_cached_model('home.models.ParagraphsBlock.side_images_with_links.get_issue')
#@django_cached_model('home.models.ParagraphsBlock.side_images_with_links.get_issue')
def get_issue(img):
return (
MultiArticleIssue.objects.filter(cover_image=img).first()
Expand Down

0 comments on commit c062e26

Please sign in to comment.