From 59ddb79e9090f8609f9125379db08adc95d507c0 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 24 Dec 2012 22:36:44 +0100 Subject: [PATCH] Removed django.conf.urls.defaults. --- django/conf/urls/defaults.py | 6 ------ docs/ref/urls.txt | 8 -------- 2 files changed, 14 deletions(-) delete mode 100644 django/conf/urls/defaults.py diff --git a/django/conf/urls/defaults.py b/django/conf/urls/defaults.py deleted file mode 100644 index 7d5c738bad..0000000000 --- a/django/conf/urls/defaults.py +++ /dev/null @@ -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) diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index b9a0199984..46332cb42c 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -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() ----------