diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-28 14:39:01 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-28 14:39:54 -0400 |
| commit | 471075387531fae272a22407026055688f1ea2c0 (patch) | |
| tree | b3182a25a41bd4251410f27a3dd33edf960cb84a /django/shortcuts.py | |
| parent | d917c17a3b3c6c7d3a529efeba539039384288e3 (diff) | |
Added missing punctuation in django/shortcuts.py docstring.
Diffstat (limited to 'django/shortcuts.py')
| -rw-r--r-- | django/shortcuts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/shortcuts.py b/django/shortcuts.py index 6fe3d2d590..ab330db601 100644 --- a/django/shortcuts.py +++ b/django/shortcuts.py @@ -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)) |
