Tagged with "django"
Using @cache_page With Django's Feeds
When returning adjango.contrib.syndication.Feed
from a view function, the @cache_page
decorator does not seem to work as expected. Briefly inspecting the source of Feed
explains why: Feed
is not an HttpResponse
. Truly, this isn't a bug: it's a documentation (if not comprehension) issue. Because the view function is expected ... read more