from django.conf.urls import url
from django.views.generic import TemplateView

from ui.views import IndexView


from django.views.decorators.cache import cache_page
urlpatterns = [
    url(r"^$", cache_page(60 * 1)(IndexView.as_view()), name="index"),

    url(r"^thanks$",
        TemplateView.as_view(template_name="thanks.html"),
        name="thanks"),

    url(r"^sorry$",
        TemplateView.as_view(template_name="sorry.html"),
        name="problem"),

    url(r"^terms_and_conditions$",
        TemplateView.as_view(template_name="terms.html"),
        name="terms"),
]

@@ -174,24 +174,26 @@
 erns = %5B%0A   
+ #
  url(r%22%5E$%22, 
@@ -247,16 +247,67 @@
 index%22),
+%0A    url(r%22%5E$%22, IndexView.as_view(), name=%22index%22),
 %0A%0A    ur

remove cache