Hello,

I see this tutorial [1] to control the response header and caching of pages 
in django. 

So I'm trying to enable this response header in a generic class DetailView. 
I did a search and found this code [2] at the end of the page and also the 
source code [3] of View. 

But are confused and do not know about which method to override correctly. 
Does anyone have any tips or example to send me? 



[1] 
http://blog.disqus.com/post/62187806135/scaling-django-to-8-billion-page-views 
[2] https://docs.djangoproject.com/en/dev/topics/class-based-views/ 
[3] 
https://github.com/django/django/blob/master/django/views/generic/base.py

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0d948c6d-34bc-44da-9d1a-534cc373c16d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to