mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed typo in MessageMiddleware.process_response() docstring.
This commit is contained in:
parent
d98210c255
commit
61a6245dc5
@ -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…
Reference in New Issue
Block a user