2014-04-02 08:46:34 +08:00
|
|
|
from django.conf.urls import include, url
|
2011-10-14 02:51:33 +08:00
|
|
|
|
|
|
|
from . import views, customadmin, admin
|
|
|
|
|
2008-07-19 07:54:34 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
|
|
|
url(r'^test_admin/admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
url(r'^test_admin/admin/secure-view/$', views.secure_view),
|
|
|
|
url(r'^test_admin/admin/', include(admin.site.urls)),
|
|
|
|
url(r'^test_admin/admin2/', include(customadmin.site.urls)),
|
|
|
|
url(r'^test_admin/admin3/', include(admin.site.urls), dict(form_url='pony')),
|
|
|
|
url(r'^test_admin/admin4/', include(customadmin.simple_site.urls)),
|
|
|
|
url(r'^test_admin/admin5/', include(admin.site2.urls)),
|
|
|
|
]
|