mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
5c1143910e
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
15 lines
577 B
Python
15 lines
577 B
Python
from django.conf.urls import patterns, include
|
|
|
|
from . import views, customadmin, admin
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
(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)),
|
|
(r'^test_admin/admin3/', include(admin.site.urls), dict(form_url='pony')),
|
|
(r'^test_admin/admin4/', include(customadmin.simple_site.urls)),
|
|
(r'^test_admin/admin5/', include(admin.site2.urls)),
|
|
)
|