1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
awx/lib/urls.py

15 lines
383 B
Python
Raw Normal View History

2013-03-14 01:15:00 +04:00
from django.conf import settings
from django.conf.urls import *
2013-02-28 18:10:20 +04:00
urlpatterns = patterns('',
url(r'', include('lib.web.urls')),
url(r'^api/', include('lib.api.urls')),
2013-02-28 18:10:20 +04:00
)
2013-03-14 01:15:00 +04:00
if 'django.contrib.admin' in settings.INSTALLED_APPS:
from django.contrib import admin
admin.autodiscover()
urlpatterns += patterns('',
url(r'^admin/', include(admin.site.urls)),
)