From 7df2771e5ef19bc873b0b34cbfbf7d4f084022b9 Mon Sep 17 00:00:00 2001 From: willipink Date: Sun, 9 Jan 2022 22:48:38 +0000 Subject: [PATCH] fix #51 remove caching from url loader --- coinmanager/coinc/urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/coinmanager/coinc/urls.py b/coinmanager/coinc/urls.py index d78b4db..932bfcf 100644 --- a/coinmanager/coinc/urls.py +++ b/coinmanager/coinc/urls.py @@ -19,15 +19,14 @@ from django.urls import path, re_path, include -from django.views.decorators.cache import cache_page from . import views app_name = 'coinc' urlpatterns = [ - path('', cache_page(None)(views.index), name='index'), - path('', cache_page(None)(views.detail_country), name='country'), + path('', views.index, name='index'), + path('', views.detail_country, name='country'), path('add/user//color/', views.add_user, name='add_user'), re_path(r'^add/coin/(?P[a-z]{2})/(?P(?:1999|20[0-8][0-9]|209[0-8]))/(?P(?:1|2|5|10|20|50|100|200|201|202|203))$', views.add_coin, name='add_coin'),