after much research [1] managed to do this [2] in the ListView class. Now I
apply the DetailView.
[1]
https://docs.djangoproject.com/en/dev/topics/conditional-view-processing/
[2]
https://github.com/lucassimon/pywatch.com.br/blob/cache-techniques/screencasts/views.py#L75-L95
Em
I did it two days ago rewriting the render_to_response method.
for reference
http://stackoverflow.com/questions/1628/send-a-file-through-django-class-based-views/16287950#16287950
2014-08-22 18:55 GMT-03:00 Lucas Simon Rodrigues Magalhaes <
lucass...@gmail.com>:
> Hello,
>
> I see this
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
3 matches
Mail list logo