mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware
This commit is contained in:
parent
a7e2835276
commit
660762681c
12 changed files with 124 additions and 41 deletions
11
tests/admin_docs/urls.py
Normal file
11
tests/admin_docs/urls.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# coding: utf-8
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.conf.urls import patterns
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
(r'^xview/func/$', views.xview_dec(views.xview)),
|
||||
(r'^xview/class/$', views.xview_dec(views.XViewClass.as_view())),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue