mirror of
https://github.com/django/django.git
synced 2024-12-30 21:16:26 +00:00
17 lines
766 B
Python
17 lines
766 B
Python
from django.conf.urls import include, url
|
|
|
|
from . import views, customadmin, custom_has_permission_admin, admin
|
|
|
|
|
|
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)),
|
|
url(r'^test_admin/admin7/', include(admin.site7.urls)),
|
|
url(r'^test_admin/has_permission_admin/', include(custom_has_permission_admin.site.urls)),
|
|
]
|