mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
15 lines
383 B
Python
15 lines
383 B
Python
from django.conf import settings
|
|
from django.conf.urls import *
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'', include('lib.web.urls')),
|
|
url(r'^api/', include('lib.api.urls')),
|
|
)
|
|
|
|
if 'django.contrib.admin' in settings.INSTALLED_APPS:
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
urlpatterns += patterns('',
|
|
url(r'^admin/', include(admin.site.urls)),
|
|
)
|