|Reported by:||Owned by:||Horst Gutmann|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
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: """
Change History (10)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|