mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
bcd4c3f27d
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.
10 lines
286 B
Python
10 lines
286 B
Python
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())),
|
|
)
|