mirror of
https://github.com/ansible/awx.git
synced 2026-04-11 21:19:22 -02:30
move code linting to a stricter pep8-esque auto-formatting tool, black
This commit is contained in:
14
awx/urls.py
14
awx/urls.py
@@ -3,14 +3,7 @@
|
||||
|
||||
from django.conf.urls import url, include
|
||||
from django.conf import settings
|
||||
from awx.main.views import (
|
||||
handle_400,
|
||||
handle_403,
|
||||
handle_404,
|
||||
handle_500,
|
||||
handle_csp_violation,
|
||||
handle_login_redirect,
|
||||
)
|
||||
from awx.main.views import handle_400, handle_403, handle_404, handle_500, handle_csp_violation, handle_login_redirect
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
@@ -29,9 +22,8 @@ urlpatterns = [
|
||||
if settings.SETTINGS_MODULE == 'awx.settings.development':
|
||||
try:
|
||||
import debug_toolbar
|
||||
urlpatterns += [
|
||||
url(r'^__debug__/', include(debug_toolbar.urls))
|
||||
]
|
||||
|
||||
urlpatterns += [url(r'^__debug__/', include(debug_toolbar.urls))]
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user