Commit 59ddb79e authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed django.conf.urls.defaults.

parent fb9f1b9b
Loading
Loading
Loading
Loading

django/conf/urls/defaults.py

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
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)
+0 −8
Original line number Diff line number Diff line
@@ -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()
----------