0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Removed django.conf.urls.defaults.

This commit is contained in:
Aymeric Augustin 2012-12-24 22:36:44 +01:00
parent fb9f1b9bfb
commit 59ddb79e90
2 changed files with 0 additions and 14 deletions

View File

@ -1,6 +0,0 @@
import warnings
warnings.warn("django.conf.urls.defaults is deprecated; use django.conf.urls instead",
DeprecationWarning)
from django.conf.urls import (handler403, handler404, handler500,
include, patterns, url)

View File

@ -4,14 +4,6 @@
.. module:: django.conf.urls
.. versionchanged:: 1.4
Starting with Django 1.4 functions ``patterns``, ``url``, ``include`` plus
the ``handler*`` symbols described below live in the ``django.conf.urls``
module.
Until Django 1.3 they were located in ``django.conf.urls.defaults``. You
still can import them from there but it will be removed in Django 1.6.
patterns()
----------