Add /login convenience URL

This commit is contained in:
Graham Mainwaring
2019-12-10 15:29:21 -05:00
parent f467e26842
commit 2b111c81df
2 changed files with 6 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ from awx.main.views import (
handle_404,
handle_500,
handle_csp_violation,
handle_login_redirect,
)
@@ -22,6 +23,7 @@ urlpatterns = [
url(r'^(?:api/)?404.html$', handle_404),
url(r'^(?:api/)?500.html$', handle_500),
url(r'^csp-violation/', handle_csp_violation),
url(r'^login/', handle_login_redirect),
]
if settings.SETTINGS_MODULE == 'awx.settings.development':