diff options
| author | Дилян Палаузов <dilyanpalauzov@users.noreply.github.com> | 2017-11-06 22:11:39 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-11-06 22:41:03 -0500 |
| commit | 6c0042430e3618ce5c276d195d92a6b884daa3a3 (patch) | |
| tree | cc272a4d835f9ff18f25f79335d0d3190850feef /django/shortcuts.py | |
| parent | 5587485d49af8b32ab660854f751a234baa6610b (diff) | |
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
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 ab330db601..6b35e64f4e 100644 --- a/django/shortcuts.py +++ b/django/shortcuts.py @@ -79,8 +79,8 @@ def get_object_or_404(klass, *args, **kwargs): klass may be a Model, Manager, or QuerySet object. All other passed arguments and keyword arguments are used in the get() query. - Note: Like with get(), an MultipleObjectsReturned will be raised if more than one - object is found. + Like with QuerySet.get(), MultipleObjectsReturned is raised if more than + one object is found. """ queryset = _get_queryset(klass) try: |
