2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 11:27:10 +00:00

tidied login and control panel pages

This commit is contained in:
2025-01-22 20:19:33 +00:00
parent 18517f5ec7
commit a5341c4eb2
4 changed files with 20 additions and 12 deletions

View File

@@ -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"),