diff options
| author | Tai Lee <tai.lee@3030.com.au> | 2013-06-18 10:10:21 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-04 13:27:08 -0400 |
| commit | bcd4c3f27d5bcf701337ac7c74c042d90792bdc3 (patch) | |
| tree | 1ae6457311bd778ae84a0c38aee73acc56879bcd /tests/admin_docs/urls.py | |
| parent | 3895d8899d7a01f2bdb1c206e45d8578a9739c91 (diff) | |
Fixed #6681 -- Don't break docutils when rendering reStructuredText.
Don't set a global default interpreted role function for reStructuredText.
Instead, use the `default-role` directive to change the default only within
the `parse_rst()` function.
Thanks Malcolm Tredinnick for the report.
Diffstat (limited to 'tests/admin_docs/urls.py')
| -rw-r--r-- | tests/admin_docs/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/admin_docs/urls.py b/tests/admin_docs/urls.py index 914b4836e0..08eaf03632 100644 --- a/tests/admin_docs/urls.py +++ b/tests/admin_docs/urls.py @@ -1,8 +1,9 @@ -from django.conf.urls import patterns +from django.conf.urls import include, patterns from . import views urlpatterns = patterns('', + (r'^admindocs/', include('django.contrib.admindocs.urls')), (r'^xview/func/$', views.xview_dec(views.xview)), (r'^xview/class/$', views.xview_dec(views.XViewClass.as_view())), ) |
