django1/django/middleware/doc.py

7 lines
223 B
Python

"""XViewMiddleware has been moved to django.contrib.admindocs.middleware."""
import warnings
warnings.warn(__doc__, PendingDeprecationWarning, stacklevel=2)
from django.contrib.admindocs.middleware import XViewMiddleware