Skip to content

Commit

Permalink
refactor: cache blog search view✨
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainchisty committed Nov 14, 2021
1 parent 7c64145 commit 4238729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blog/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def create_comment_view(request, slug):


@customer_required
@cache_page(60 * 2)
def blog_search_view(request):
'''
This view will search for the blog post with title, slug and category.
Expand Down

0 comments on commit 4238729

Please sign in to comment.