2011-10-14 02:51:33 +08:00
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns, include
|
2011-10-14 02:51:33 +08:00
|
|
|
|
|
|
|
from . import views, customadmin, admin
|
|
|
|
|
2008-07-19 07:54:34 +08:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2011-09-21 02:16:49 +08:00
|
|
|
(r'^test_admin/admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
(r'^test_admin/admin/secure-view/$', views.secure_view),
|
|
|
|
(r'^test_admin/admin/', include(admin.site.urls)),
|
|
|
|
(r'^test_admin/admin2/', include(customadmin.site.urls)),
|
2012-02-10 02:56:32 +08:00
|
|
|
(r'^test_admin/admin3/', include(admin.site.urls), dict(form_url='pony')),
|
2012-12-04 07:39:03 +08:00
|
|
|
(r'^test_admin/admin4/', include(customadmin.simple_site.urls)),
|
2013-07-19 03:17:40 +08:00
|
|
|
(r'^test_admin/admin5/', include(admin.site2.urls)),
|
2008-07-19 07:54:34 +08:00
|
|
|
)
|