from django.urls import path from django.views.decorators.cache import cache_page from django.views.decorators.vary import vary_on_cookie from .views import StatusPageDetailView urlpatterns = [ path( "status-pages///", cache_page(60)(vary_on_cookie(StatusPageDetailView.as_view())), name="status-page-detail", ), ]