diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,5 @@ from django.conf import settings -from django.conf.urls import url, include, re_path +from django.urls import include, re_path from django.views.generic.base import RedirectView from django.views.generic.edit import UpdateView from django.views.generic.list import ListView @@ -61,7 +61,7 @@ else: # see https://docs.djangoproject.com/en/dev/topics/auth/default/ # The URLs provided by include('django.contrib.auth.urls') are: - +# # accounts/login/ [name='login'] # accounts/logout/ [name='logout'] # accounts/password_change/ [name='password_change'] @@ -71,8 +71,6 @@ else: # accounts/reset/<uidb64>/<token>/ [name='password_reset_confirm'] # accounts/reset/done/ [name='password_reset_complete'] -# these worked in Django 2.2.24 but failed in .25 even though we include django.contrib.auth - 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. |