django/tests/admin_docs/urls.py

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