Skip to content

Commit

Permalink
Change cache backend for /project-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zuhdil committed Nov 13, 2024
1 parent 75fba5a commit 1c9486b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion akvo/rest/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class ProjectUpViewSet(ProjectViewSet):
###############################################################################

@api_view(['GET'])
@cache_page(60 * 60)
@cache_page(60 * 60 * 6, cache='database')
def project_directory(request):
"""Return the values for various project filters.
Expand Down

0 comments on commit 1c9486b

Please sign in to comment.