Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix deprecated invocation of cache_page.

  • Loading branch information...
commit 7b19c8d4fc3d13d91596b22e57b4db92f6ecc62b 1 parent 499c5cd
Aymeric Augustin authored February 08, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django_www/urls.py
2  django_www/urls.py
@@ -46,7 +46,7 @@
46 46
     # django-push
47 47
     url(r'^subscriber/', include('django_push.subscriber.urls')),
48 48
 
49  
-    url(r'^sitemap\.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6), {'sitemaps': sitemaps}),
  49
+    url(r'^sitemap\.xml$', cache_page(60 * 60 * 6)(sitemap_views.sitemap), {'sitemaps': sitemaps}),
50 50
     url(r'^weblog/', include('blog.urls')),
51 51
     url(r'^download$', flatpage, {'url': 'download'}, name="download"),
52 52
     url(r'^svntogit/', include('svntogit.urls')),

0 notes on commit 7b19c8d

Please sign in to comment.
Something went wrong with that request. Please try again.