1 2 3 4 | def index(request):
response = render_to_response('mytemplate.html')
response["P3P"] = 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'
return response
|
More like this
- Extended db cache backend with 'filter() / LIKE' support (and now scheduled cache clean!) by sleepycal 2 years, 1 month ago
- pavement file for deploying django projects by bl4th3rsk1t3 2 years, 8 months ago
- Compact P3P policy header injection middleware by mwolgemuth 3 years, 4 months ago
- Pass db.Field to newforms.Widget by guettli 4 years, 6 months ago
- Ignore HTTP Accept-Language headers by fonso 4 years, 9 months ago
Comments