Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix deprecated invocation of cache_page.

  • Loading branch information...
commit 7b19c8d4fc3d13d91596b22e57b4db92f6ecc62b 1 parent 499c5cd
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_www/urls.py
View
2  django_www/urls.py
@@ -46,7 +46,7 @@
# django-push
url(r'^subscriber/', include('django_push.subscriber.urls')),
- url(r'^sitemap\.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6), {'sitemaps': sitemaps}),
+ url(r'^sitemap\.xml$', cache_page(60 * 60 * 6)(sitemap_views.sitemap), {'sitemaps': sitemaps}),
url(r'^weblog/', include('blog.urls')),
url(r'^download$', flatpage, {'url': 'download'}, name="download"),
url(r'^svntogit/', include('svntogit.urls')),
Please sign in to comment.
Something went wrong with that request. Please try again.