comparison gpp/contests/urls.py @ 574:ddd69a8e07c7

For Django 1.4, use django.conf.urls instead of django.conf.urls.defaults.
author Brian Neal <bgneal@gmail.com>
date Thu, 03 May 2012 20:45:16 -0500
parents 0a8e6a9ccf53
children
comparison
equal deleted inserted replaced
573:bcc4e8cf841b 574:ddd69a8e07c7
1 """ 1 """
2 Url patterns for the contests application. 2 Url patterns for the contests application.
3 3
4 """ 4 """
5 from django.conf.urls.defaults import patterns, url 5 from django.conf.urls import patterns, url
6 from django.views.generic import DetailView, ListView 6 from django.views.generic import DetailView, ListView
7 7
8 from contests.models import Contest 8 from contests.models import Contest
9 9
10 10