comparison gpp/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 bcc4e8cf841b
children 217a6319278c
comparison
equal deleted inserted replaced
573:bcc4e8cf841b 574:ddd69a8e07c7
1 from django.conf.urls.defaults import * 1 from django.conf.urls import patterns, url, include
2 from django.conf import settings 2 from django.conf import settings
3 from django.contrib import admin 3 from django.contrib import admin
4 from django.views.decorators.cache import cache_page 4 from django.views.decorators.cache import cache_page
5 5
6 from haystack.views import search_view_factory 6 from haystack.views import search_view_factory