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

Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware

This commit is contained in:
Łukasz Langa
2013-05-18 17:43:21 +02:00
parent a7e2835276
commit 660762681c
12 changed files with 124 additions and 41 deletions

11
tests/admin_docs/urls.py Normal file
View 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())),
)