Fix ImportError: No module named defaults
authorJason Stephenson <jason@sigio.com>
Mon, 5 Mar 2018 19:20:18 +0000 (14:20 -0500)
committerJason Stephenson <jason@sigio.com>
Mon, 5 Mar 2018 19:20:18 +0000 (14:20 -0500)
The module django.conf.urls.defaults was removed in Django 1.6.  The
functions are now available from django.conf.urls.

Signed-off-by: Jason Stephenson <jason@sigio.com>
conifer/syrup/urls.py
conifer/urls.py

index f78e138..b06ccad 100644 (file)
@@ -1,4 +1,4 @@
-from django.conf.urls.defaults import *
+from django.conf.urls import *
 
 # I'm not ready to break items out into their own urls.py, but I do
 # want to cut down on the common boilerplate in the urlpatterns below.
index 833e8ec..3648dd2 100644 (file)
@@ -1,4 +1,4 @@
-from django.conf.urls.defaults import *
+from django.conf.urls import *
 from django.conf import settings
 import django
 import os