fix #51 remove caching from url loader

This commit is contained in:
willipink 2022-01-09 22:48:38 +00:00
parent 3ed6923fd0
commit 7df2771e5e

View File

@ -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('<str:name_iso>', cache_page(None)(views.detail_country), name='country'),
path('', views.index, name='index'),
path('<str:name_iso>', views.detail_country, name='country'),
path('add/user/<str:username>/color/<str:color>', views.add_user, name='add_user'),
re_path(r'^add/coin/(?P<country>[a-z]{2})/(?P<year>(?:1999|20[0-8][0-9]|209[0-8]))/(?P<value>(?:1|2|5|10|20|50|100|200|201|202|203))$',
views.add_coin, name='add_coin'),