From ceb261fc180bfe53c855af620db17e2dc52e9d95 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Tue, 17 May 2011 22:02:01 +0200 Subject: star import seems to be the only solution. diff --git a/nop/urls.py b/nop/urls.py index 0521a74..1f1e5ea 100644 --- a/nop/urls.py +++ b/nop/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import patterns, url +from django.conf.urls.defaults import * from views import get, get_current, nop_form urlpatterns = patterns('', diff --git a/program/urls.py b/program/urls.py index b9df496..2023148 100644 --- a/program/urls.py +++ b/program/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import patterns, url +from django.conf.urls.defaults import * from django.views.generic.list_detail import object_detail, object_list diff --git a/urls.py b/urls.py index 1c4a01c..97f1a8b 100644 --- a/urls.py +++ b/urls.py @@ -1,5 +1,5 @@ from django.conf import settings -from django.conf.urls.defaults import include, patterns +from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() -- cgit v0.10.2