Added missing punctuation in django/shortcuts.py docstring.

This commit is contained in:
Tim Graham 2017-09-28 14:39:01 -04:00
parent d917c17a3b
commit 4710753875
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ def redirect(to, *args, permanent=False, **kwargs):
* A URL, which will be used as-is for the redirect location. * A URL, which will be used as-is for the redirect location.
By default issues a temporary redirect; pass permanent=True to issue a Issues a temporary redirect by default; pass permanent=True to issue a
permanent redirect permanent redirect.
""" """
redirect_class = HttpResponsePermanentRedirect if permanent else HttpResponseRedirect redirect_class = HttpResponsePermanentRedirect if permanent else HttpResponseRedirect
return redirect_class(resolve_url(to, *args, **kwargs)) return redirect_class(resolve_url(to, *args, **kwargs))