symposion_app/pinaxcon/devmode_urls.py
Joel Addison 252697b842 Update to Django 2.2
Upgrade site and modules to Django 2.2. Remove and replace obsolete
functionality with current equivalents. Update requirements to latest
versions where possible. Remove unused dependencies.
2020-11-22 23:58:14 +10:00

11 lines
342 B
Python

from django.contrib.auth.views import LoginView, LogoutView
from django.urls import include, path
from pinaxcon import urls
urlpatterns = [
path('accounts/logout', LogoutView.as_view(template_name='admin/logout.html')),
path('accounts/login', LoginView.as_view(template_name='admin/login.html')),
]
urlpatterns += urls.urlpatterns