summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-22 20:19:33 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-22 20:19:33 +0000
commita5341c4eb256d7d18bddca597c97a9fb91794ea6 (patch)
tree91b466fc8d1189a95dd07c572455cfd90ab034ec /urls.py
parent18517f5ec7378ceffb554dd21b5fbf49bdae24af (diff)
downloadtroggle-a5341c4eb256d7d18bddca597c97a9fb91794ea6.tar.gz
troggle-a5341c4eb256d7d18bddca597c97a9fb91794ea6.tar.bz2
troggle-a5341c4eb256d7d18bddca597c97a9fb91794ea6.zip
tidied login and control panel pages
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 72c713f..e7c8f21 100644
--- a/urls.py
+++ b/urls.py
@@ -123,7 +123,7 @@ else:
# 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
+# /home/philip/expo/troggle/.venv/lib/python3.xx/site-packages/django/contrib/admin/sites.py
trogglepatterns = [
path('pubs.htm', pubspage, name="pubspage"), # ~165 hrefs to this url in expoweb files
@@ -170,7 +170,7 @@ trogglepatterns = [
path('accounts/login/', expologin, name='expologin'), # same as in django.contrib.auth.urls
path("accounts/register/<slug:username>", register, name="re_register"),
path("accounts/register/", register, name="register"),
- path('accounts/', include('django.contrib.auth.urls')), # see site-packages\registration\auth_urls_classes.py
+ path('accounts/', include('django.contrib.auth.urls')), # see line 109 in this file
path('person/<slug:slug>', person, name="person"),
path('personexpedition/<slug:slug>/<int:year>', personexpedition, name="personexpedition"),