summaryrefslogtreecommitdiff
path: root/tests/get_object_or_404/tests.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-11-24Fixed #33298 -- Added docs and tests for using Q objects with ↵mgaligniana
get_object_or_404()/get_list_or_404().
2021-10-18Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith
2018-02-19Fixed #29135 -- Prevented get_object/list_or_404() from hiding ↵dizballanze
AttributeError raised by QuerySet filtering.
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-03-29Fixed #10532 -- Relaxed hard-type checking in get_object/list_or_404 shortcutsClaude Paroz
Thanks Anssi Kääriäinen for the patch suggestion, and Tim Graham for the review.
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham
related set.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner