Skip to content

Commit

Permalink
Fixed typo in MessageMiddleware.process_response() docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
putsjoe authored and timgraham committed Oct 16, 2017
1 parent d98210c commit 61a6245
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django/contrib/messages/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def process_response(self, request, response):
"""
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.
Expand Down

0 comments on commit 61a6245

Please sign in to comment.