1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00
awx/lib/urls.py
2013-03-13 17:29:20 -04:00

16 lines
401 B
Python

from django.conf import settings
from django.conf.urls import *
urlpatterns = patterns('',
# Example:
# (r'^foo/', include('lib.foo.urls')),
(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)),
)