symposion_app/pinaxcon/devmode_urls.py

12 lines
342 B
Python
Raw Normal View History

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