From 59b2b88a2f1b20ae17203e372314075824782155 Mon Sep 17 00:00:00 2001 From: Matteo Scotuzzi Date: Thu, 24 Apr 2014 15:01:46 -0700 Subject: [PATCH] from django.conf.urls.defaults import * is not compatible with django 1.6 --- profiler/urls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profiler/urls.py b/profiler/urls.py index 07f3b7f..168564d 100644 --- a/profiler/urls.py +++ b/profiler/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import * +from django.conf.urls import patterns, url urlpatterns = patterns( 'profiler.views', @@ -7,4 +7,3 @@ url(r'^code/$', 'python_stats', name='profiler_python_stats'), url(r'^reset/$', 'reset', name='profiler_reset'), ) -