Upversioned packages. Also now Dj4.0 capable.

This commit is contained in:
Philip Sargent
2022-03-04 14:54:49 +00:00
parent dc4374cb9e
commit 1b9fccc2a4
3 changed files with 25 additions and 15 deletions

View File

@@ -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.