mirror of https://github.com/django/django.git
Added missing punctuation in django/shortcuts.py docstring.
This commit is contained in:
parent
d917c17a3b
commit
4710753875
|
@ -51,8 +51,8 @@ def redirect(to, *args, permanent=False, **kwargs):
|
|||
|
||||
* A URL, which will be used as-is for the redirect location.
|
||||
|
||||
By default issues a temporary redirect; pass permanent=True to issue a
|
||||
permanent redirect
|
||||
Issues a temporary redirect by default; pass permanent=True to issue a
|
||||
permanent redirect.
|
||||
"""
|
||||
redirect_class = HttpResponsePermanentRedirect if permanent else HttpResponseRedirect
|
||||
return redirect_class(resolve_url(to, *args, **kwargs))
|
||||
|
|
Loading…
Reference in New Issue