diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-22 20:19:33 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-22 20:19:33 +0000 |
commit | a5341c4eb256d7d18bddca597c97a9fb91794ea6 (patch) | |
tree | 91b466fc8d1189a95dd07c572455cfd90ab034ec /urls.py | |
parent | 18517f5ec7378ceffb554dd21b5fbf49bdae24af (diff) | |
download | troggle-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"), |