mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Tweak TemplateHTMLRenderer docs.
This commit is contained in:
parent
048ef6a039
commit
31f3fa63b2
|
@ -115,7 +115,7 @@ The TemplateHTMLRenderer will create a `RequestContext`, using the `response.dat
|
||||||
|
|
||||||
The template name is determined by (in order of preference):
|
The template name is determined by (in order of preference):
|
||||||
|
|
||||||
1. An explicit `.template_name` attribute set on the response.
|
1. An explicit `template_name` argument passed to the response.
|
||||||
2. An explicit `.template_name` attribute set on this class.
|
2. An explicit `.template_name` attribute set on this class.
|
||||||
3. The return result of calling `view.get_template_names()`.
|
3. The return result of calling `view.get_template_names()`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user