Skip to content

Commit

Permalink
Fix deprecated invocation of cache_page.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Feb 8, 2013
1 parent 499c5cd commit 7b19c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_www/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')),
Expand Down

0 comments on commit 7b19c8d

Please sign in to comment.