forked from expo/troggle
Bugfix for new survex file
This commit is contained in:
6
urls.py
6
urls.py
@@ -79,6 +79,10 @@ else:
|
||||
# BUT many of these are set up by opinionated Django even if 'django.contrib.auth.urls' is NOT included.
|
||||
# Some overlap with 'admin.site.urls' needs to be investigated.
|
||||
|
||||
# admin.site.urls is urls() which maps to get_urls() which is a function declared
|
||||
# in django/contrib/admin/sites.py which for me is
|
||||
# /home/philip/p11d5/lib/python3.11/site-packages/django/contrib/admin/sites.py
|
||||
|
||||
trogglepatterns = [
|
||||
path('expofiles/', include(expofilesurls)), # intercepted by Apache, if it is running.
|
||||
path('expofiles', include(expofilesurls)), # curious interaction with the include() here, not just a slash problem.
|
||||
@@ -90,7 +94,7 @@ trogglepatterns = [
|
||||
re_path(r'^people/?$', notablepersons, name="notablepersons"),
|
||||
|
||||
re_path(r'^admin/doc/', include('django.contrib.admindocs.urls')), # needs docutils Python module (http://docutils.sf.net/).
|
||||
re_path(r'^admin/', admin.site.urls), # includes admin login & logout urls
|
||||
re_path(r'^admin/', admin.site.urls), # includes admin login & logout urls & /admin/jsi18n/
|
||||
|
||||
# Uploads - uploading a file
|
||||
path('walletedit/', walletedit, name='walletedit'),
|
||||
|
||||
Reference in New Issue
Block a user