forked from expo/troggle
Upversioned packages. Also now Dj4.0 capable.
This commit is contained in:
6
urls.py
6
urls.py
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user