mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Converted internal link generation in the admin and admin document generator to use named URLs.
Thanks to Florian Apolloner for both the initial patch and his final push to get this fixed, to Dario Ocles for his great work on the admin templates and switching the admin_doc application to also use named URLs, to Mikko Hellsing for his comments and to Jannis and Julien for their review and design guidance. Fixes #15294. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from django.conf.urls import patterns, include
|
||||
|
||||
|
||||
urlpatterns = patterns('',
|
||||
# test_client modeltest urls
|
||||
(r'^test_client/', include('modeltests.test_client.urls')),
|
||||
@@ -25,4 +24,7 @@ urlpatterns = patterns('',
|
||||
# admin widget tests
|
||||
(r'widget_admin/', include('regressiontests.admin_widgets.urls')),
|
||||
|
||||
# admin custom URL tests
|
||||
(r'^custom_urls/', include('regressiontests.admin_custom_urls.urls')),
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user