Commit dab2123a authored by Nicolas G.'s avatar Nicolas G.

Mise à jour Django ⇒ 2.1.1

parent 33af42b6
......@@ -41,11 +41,27 @@ urlpatterns = [
url(r'^' + settings.ADMIN_URL +'/', geoadmin.site.urls),
# Rappel de mot de passe
url(r'^admin/password_reset/$', auth_views.password_reset, name='admin_password_reset'),
url(r'^admin/password_reset/done/$', auth_views.password_reset_done, name='password_reset_done'),
url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>.+)/$', auth_views.password_reset_confirm, name='password_reset_confirm'),
url(r'^reset/done/$', auth_views.password_reset_complete, name='password_reset_complete'),
url('^' + settings.ADMIN_URL , include('django.contrib.auth.urls')),
url(
r'^' + settings.ADMIN_URL +'/password_reset/',
auth_views.PasswordResetView.as_view(),
name='admin_password_reset',
),
url(
r'^' + settings.ADMIN_URL +'/password_reset/done/',
auth_views.PasswordResetDoneView.as_view(),
name='password_reset_done',
),
url(
r'^' + settings.ADMIN_URL +'/reset/<uidb64>/<token>/',
auth_views.PasswordResetConfirmView.as_view(),
name='password_reset_confirm',
),
url(
r'^' + settings.ADMIN_URL + '/reset/done/',
auth_views.PasswordResetCompleteView.as_view(),
name='password_reset_complete',
),
# Page d'index : la liste des villes
url(r'^$', liste_villes, name='index'),
......
......@@ -9,18 +9,16 @@ configparser==3.5.0
constantly==15.1.0
cryptography==2.1.4
decorator==4.3.0
Django==2.0.7
django-extensions==1.9.8
Django==2.1.1
django-extensions==2.1.2
django-geojson==2.11.0
django-ical==1.4
django-leaflet==0.24.0
django-tinymce==2.7.0
djangosecure==0.0.6
djangosecure==0.0.11
future==0.16.0
hendrix==2.0.2
http-ece==1.0.5
hyperlink==17.3.1
icalendar==4.0.0
idna==2.6
incremental==17.5.0
Jinja2==2.10
......@@ -36,6 +34,7 @@ pyasn1-modules==0.2.1
pychalk==0.0.5
pycparser==2.18
pycrypto==2.6.1
pycryptodome==3.6.1
pycurl==7.43.0.2
pyOpenSSL==17.5.0
pyparsing==2.2.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment