mirror of
https://github.com/django/django.git
synced 2025-04-14 20:34:36 +00:00
[2.0.x] Fixed typo in MessageMiddleware.process_response() docstring.
Backport of 61a6245dc5c9ad8423dcceb47fdeff167c838542 from master
This commit is contained in:
parent
325d3027db
commit
04a92ebe49
@ -15,8 +15,7 @@ class MessageMiddleware(MiddlewareMixin):
|
||||
"""
|
||||
Update the storage backend (i.e., save the messages).
|
||||
|
||||
If not all messages could not be stored and ``DEBUG`` is ``True``,
|
||||
raise ValueError.
|
||||
Raise ValueError if not all messages could be stored and DEBUG is True.
|
||||
"""
|
||||
# A higher middleware layer may return a request which does not contain
|
||||
# messages storage, so make no assumption that it will be there.
|
||||
|
Loading…
x
Reference in New Issue
Block a user