From cacae6a9cd40828ca03671d47f2fc70306f16d8d Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 30 Mar 2021 21:05:27 +0100 Subject: rename flatpages as expopages to reduce confusion --- urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 8143d7a..85f5ad9 100644 --- a/urls.py +++ b/urls.py @@ -10,7 +10,7 @@ from troggle.core import views_other, views_caves, views_logbooks, views_statist from troggle.core.views_other import troggle404 from troggle.core.views_caves import ent, prospecting_image from troggle.core.views_statistics import pathsreport, stats -from flatpages import views as flatviews +from expopages import views as flatviews """This sets the actualurlpatterns[] and urlpatterns[] lists which django uses to resolve urls - in both directions as these are declarative. @@ -83,7 +83,7 @@ actualurlpatterns = [ url(r'^cave/new/$', views_caves.edit_cave, name="newcave"), url(r'^cave/(?P[^/]+)/?$', views_caves.cave, name="cave"), - url(r'^cave/(?P[^/]+)/?(?P[^/])$', ent), # how can this work? + url(r'^cave/(?P[^/]+)/?(?P[^/])$', ent), # view_caves.ent url(r'^cave/(?P[^/]+)/edit/$', views_caves.edit_cave, name="edit_cave"), url(r'^cave/(?P[^/]+)/(?P\d\d\d\d)-(?P\d*)(?P[ABCDX]?)?$', views_caves.qm, name="qm"), -- cgit v1.2.3