mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
15 lines
358 B
Python
15 lines
358 B
Python
from django.conf import settings
|
|
from django.conf.urls import *
|
|
|
|
urlpatterns = patterns('',
|
|
# Example:
|
|
# (r'^foo/', include('lib.foo.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)),
|
|
)
|