1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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.
This commit is contained in:
Tai Lee
2013-06-18 10:10:21 +10:00
committed by Tim Graham
parent 3895d8899d
commit bcd4c3f27d
3 changed files with 58 additions and 5 deletions

View File

@@ -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())),
)