mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
28 lines
807 B
Python
28 lines
807 B
Python
# Copyright (c) 2015 Ansible, Inc.
|
|
# All Rights Reserved.
|
|
|
|
from django.conf.urls import url, include
|
|
from awx.main.views import (
|
|
handle_400,
|
|
handle_403,
|
|
handle_404,
|
|
handle_500,
|
|
)
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'', include('awx.ui.urls', namespace='ui')),
|
|
url(r'^api/', include('awx.api.urls', namespace='api')),
|
|
url(r'^sso/', include('awx.sso.urls', namespace='sso')),
|
|
url(r'^sso/', include('social_django.urls', namespace='social')),
|
|
url(r'^(?:api/)?400.html$', handle_400),
|
|
url(r'^(?:api/)?403.html$', handle_403),
|
|
url(r'^(?:api/)?404.html$', handle_404),
|
|
url(r'^(?:api/)?500.html$', handle_500),
|
|
]
|
|
|
|
handler400 = 'awx.main.views.handle_400'
|
|
handler403 = 'awx.main.views.handle_403'
|
|
handler404 = 'awx.main.views.handle_404'
|
|
handler500 = 'awx.main.views.handle_500'
|