summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_json.py
AgeCommit message (Collapse)Author
2019-04-18[2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating ↵can
over a nested JSONField key transform. Backport of d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3 from master.
2019-03-21[2.2.x] Used QuerySet.bulk_create() in a couple of postgres tests.oliver
Follow up to 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607. Backport of 2aaabe2004e1953eb7d7057edcf2fabd37f7394d from master.
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-03-21Refs #29147 --- Added JSONField serialization tests.Tim Graham
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2017-11-11Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider ↵shanghui
True/1 values as different.
2017-10-20Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable ↵Flávio Juvenal
defaults.
2017-09-27Fixed #28626 -- Dropped support for PostgreSQL 9.3.Tim Graham
Thanks Simon Charette for the introspection changes.
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-06Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.Simon Charette
Thanks Harris Lapiroff for the report.
2016-11-15Refs #27003 -- Fixed JSONField crash on converted values.Brandon Chinn
2016-09-22Fixed #27257 -- Fixed builtin text lookups on JSONField keys.Simon Charette
Thanks Nick Stefan for the report and Tim for the review.
2016-09-12Used a database feature to prevent the jsonb test model from being migrated.Simon Charette
Thanks Tim for the review.
2016-09-07Fixed #26908 -- Fixed crash with jsonfield__key__isnull lookup.Tim Graham
2016-08-25Fixed #25995 -- Added an encoder option to JSONFieldClaude Paroz
Thanks Berker Peksag and Tim Graham for the reviews.
2016-07-27Fixed #26949 -- Fixed crash of disabled forms.JSONField.Olexander Yermakov
2016-07-27Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.Tim Graham
Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-13Fixed #26748 -- Allowed overriding JSONField's widget with an attribute.Charlie Denton
2016-04-01Fixed #25532 -- Properly redisplayed JSONField form input valuesClaude Paroz
Thanks David Szotten for the report and Tommy Beadle for code inspiration. Thanks Tim Graham for the review.
2016-02-16Fixed #26215 -- Fixed RangeField/ArrayField serialization with None valuesClaude Paroz
Also added tests for HStoreField and JSONField. Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and the review.
2015-06-06Added missing tests for transforms usage with subquery for PostgreSQL fieldsAndriy Sokolovskiy
2015-05-30Name PostgreSQL correctly.Marc Tamlyn
2015-05-30Fixed #24604 -- Added JSONField to contrib.postgres.Marc Tamlyn