Removed django.conf.urls.defaults.
This commit is contained in:
parent
fb9f1b9bfb
commit
59ddb79e90
|
@ -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)
|
|
@ -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()
|
||||
----------
|
||||
|
||||
|
|
Loading…
Reference in New Issue