Hello Luke,
Thank you for your reply.Unfortunatelly I use Python 2.3 so, I can not
use decorators as you described.

Is it possible to change HTTP headers ,in Django,in this way below?

response= HttpResponseRedirect("/ChangeProductList/")
response['Pragma'] = "no cache"
response['Cache-Control'] = "no-cache,must-revalidate"
response['Pragma'] = "no cache"
response['Expires'] = "Wed, 11 Jan 2006 05:00:00 GMT"
return response
############
or how can I add /change HTTP headers in Django? (In Python it is very
easy)
Thank you for reply.
L


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to