summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-23 18:29:42 -0500
committerDan McGee <dan@archlinux.org>2012-03-23 19:54:40 -0500
commitb8c20439c091aaa56e772441e6c3a7e57e8ef2d4 (patch)
treef7c7922c5ebb3b9a29fb2c170974dea5e4cf5761 /urls.py
parent0545e3e0ec864eaed4facc94158e3ed9da1dfb2b (diff)
Change Django urls.py import
Until Django 1.3, the functions include(), patterns() and url() plus handler404, handler500 were located in a django.conf.urls.defaults module. In Django 1.4, they live in django.conf.urls. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index a061f030..9b9b4559 100644
--- a/urls.py
+++ b/urls.py
@@ -1,7 +1,7 @@
import os.path
# Stupid Django. Don't remove these "unused" handler imports
-from django.conf.urls.defaults import handler500, handler404, include, patterns
+from django.conf.urls import handler500, handler404, include, patterns
from django.conf import settings
from django.contrib import admin