2014-04-02 00:46:34 +00:00
|
|
|
from django.conf.urls import include, url
|
2011-10-13 18:51:33 +00:00
|
|
|
|
2015-01-28 12:35:27 +00:00
|
|
|
from . import admin, custom_has_permission_admin, customadmin, views
|
2008-07-18 23:54:34 +00:00
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
urlpatterns = [
|
|
|
|
url(r'^test_admin/admin/doc/', include('django.contrib.admindocs.urls')),
|
2015-02-06 22:25:15 +00:00
|
|
|
url(r'^test_admin/admin/secure-view/$', views.secure_view, name='secure_view'),
|
2014-04-02 00:46:34 +00:00
|
|
|
url(r'^test_admin/admin/', include(admin.site.urls)),
|
|
|
|
url(r'^test_admin/admin2/', include(customadmin.site.urls)),
|
2015-02-06 22:25:15 +00:00
|
|
|
url(r'^test_admin/admin3/', include(admin.site.get_urls(), 'admin3', 'admin'), dict(form_url='pony')),
|
2014-04-02 00:46:34 +00:00
|
|
|
url(r'^test_admin/admin4/', include(customadmin.simple_site.urls)),
|
|
|
|
url(r'^test_admin/admin5/', include(admin.site2.urls)),
|
2014-05-28 16:07:27 +00:00
|
|
|
url(r'^test_admin/admin7/', include(admin.site7.urls)),
|
2014-12-31 21:25:00 +00:00
|
|
|
url(r'^test_admin/has_permission_admin/', include(custom_has_permission_admin.site.urls)),
|
2014-04-02 00:46:34 +00:00
|
|
|
]
|