mirror of
https://github.com/django/django.git
synced 2025-07-21 01:59:26 +00:00
[1.9.x] Fixed typo in docs/ref/template-response.txt.
Backport of 7ba7d203d8044da923b2b18fa82e59e62e4bf809 from master
This commit is contained in:
parent
364f6b2ce8
commit
7df7039df1
@ -303,7 +303,7 @@ rendered response.
|
|||||||
|
|
||||||
If you're using middleware, the solution is easy. Middleware provides
|
If you're using middleware, the solution is easy. Middleware provides
|
||||||
multiple opportunities to process a response on exit from a view. If
|
multiple opportunities to process a response on exit from a view. If
|
||||||
you put behavior in the Response middleware is guaranteed to execute
|
you put behavior in the response middleware, it's guaranteed to execute
|
||||||
after template rendering has taken place.
|
after template rendering has taken place.
|
||||||
|
|
||||||
However, if you're using a decorator, the same opportunities do not
|
However, if you're using a decorator, the same opportunities do not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user