changeset 66:9b9daefba97a

For Django 1.4, django.conf.urls.defaults is deprecated. Use django.conf.urls instead.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Apr 2012 14:14:13 -0500
parents cbbe7a275887
children 0236de10077f
files madeira/articles/urls.py madeira/band/urls.py madeira/email_list/admin.py madeira/email_list/urls.py madeira/gigs/urls.py madeira/mp3/urls.py madeira/news/urls.py madeira/photologue/urls.py madeira/urls.py madeira/videos/urls.py
diffstat 10 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/articles/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/articles/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the articles application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import DetailView, ListView
 
 from articles.models import Article
--- a/madeira/band/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/band/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the band application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 
 urlpatterns = patterns('band.views',
    url(r'^bio/$', 'bio', name='band-bio'),
--- a/madeira/email_list/admin.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/email_list/admin.py	Sat Apr 14 14:14:13 2012 -0500
@@ -3,7 +3,7 @@
 
 """
 from django.contrib import admin
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.shortcuts import render, redirect
 
 from email_list.models import Subscriber
--- a/madeira/email_list/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/email_list/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the email_list application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import TemplateView
 
 
--- a/madeira/gigs/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/gigs/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the gigs application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import ListView
 
 from gigs.models import Gig
--- a/madeira/mp3/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/mp3/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the mp3 application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import ListView
 
 from mp3.models import Collection
--- a/madeira/news/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/news/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the news application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import DetailView, ListView
 
 from news.models import News
--- a/madeira/photologue/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/photologue/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -1,5 +1,5 @@
 from django.conf import settings
-from django.conf.urls.defaults import *
+from django.conf.urls import *
 from models import *
 
 # Number of random images from the gallery to display.
--- a/madeira/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -1,4 +1,4 @@
-from django.conf.urls.defaults import patterns, include, url
+from django.conf.urls import patterns, include, url
 from django.contrib import admin
 from django.conf.urls.static import static
 from django.conf import settings
--- a/madeira/videos/urls.py	Sat Apr 14 13:58:26 2012 -0500
+++ b/madeira/videos/urls.py	Sat Apr 14 14:14:13 2012 -0500
@@ -2,7 +2,7 @@
 Urls for the videos application.
 
 """
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 from django.views.generic import DetailView, ListView
 
 from videos.models import Collection