252697b842
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.
11 lines
342 B
Python
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
|