id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux
13876,Documentation duplicates,pakal ,Horst Gutmann,"
In documentation page ""the Django admin site"" : a section is written twice in a row, the one starting with :
""If the string given is a method of the model, ModelAdmin or a callable, Django will HTML-escape the output by default. If you'd rather not escape the output of the method, give the method an allow_tags attribute whose value is True.""
Besides, in request-response doc , two different sections deal with setting/reading request headers, maybe they should be merged :
{{{
""""""
Here's a full example model:
You can add and delete headers using dictionary syntax:
>>> response = HttpResponse()
>>> response['X-DJANGO'] = ""It's the best.""
>>> del response['X-PHP']
>>> response['X-DJANGO']
""It's the best.""
Note that del doesn't raise KeyError if the header doesn't exist.
[....]
Setting headers
To set a header in your response, just treat it like a dictionary:
""""""
}}}
Cheers,
Pascal",,closed,Documentation,1.2,,fixed,,,Ready for checkin,1,0,0,0,0,0