summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_hstore.py
AgeCommit message (Collapse)Author
2024-12-05Fixed #35944 -- Handled serialization of Unicode values in ArrayField and ↵Oleg Sverdlov
HStoreField.
2024-05-10Fixed #35436 -- Fixed displaying Unicode chars in forms.HStoreField.SaJH
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-04Refs #27694 -- Added more tests for chaining lookups with HStoreField key ↵Sarah Abderemane
transforms.
2020-11-27Fixed #25534, Fixed #31639 -- Added support for transform references in ↵Ian Foote
expressions. Thanks Mariusz Felisiak and Simon Charette for reviews.
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-10-17Refs #12990 -- Moved CheckFieldDefaultMixin to the ↵sage
django.db.models.fields.mixins.
2019-09-16Fixed #30769 -- Fixed a crash when filtering against a subquery ↵Simon Charette
JSON/HStoreField annotation. This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086 to address CVE-2019-14234. Thanks Tim Kleinschmidt for the report and Mariusz for the tests.
2019-08-14Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on ↵Mariusz Felisiak
expressions with params. Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387. Thanks Florian Apolloner for the report and helping with tests.
2019-08-01Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and index ↵Mariusz Felisiak
lookups against SQL injection. Thanks to Sage M. Abdullah for the report and initial patch. Thanks Florian Apolloner for reviews.
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
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-05-03Added a test for ArrayField(HStoreField()).Simon Charette
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-15Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman
2016-07-21Fixed #25454 -- Ensured register_hstore_handler is called for all connectionsClaude Paroz
Thanks Simon Charette for help with the patch.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-02Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of ↵Brad Melin
crashing on non-dict JSON input.
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.
2016-01-29Fixed #26120 -- Made HStoreField cast keys and values to strings.Greg Chapple
HStoreField now converts all keys and values to string before they're saved to the database.
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-08-07Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.Tim Graham
Thanks Simon Charette for review.
2015-08-04Fixed #25215 -- Solved reference to forms.HStoreField in declaration of ↵Curtis Maloney
HStoreField Correct test which was using the model field in a test form.
2015-06-06Added missing tests for transforms usage with subquery for PostgreSQL fieldsAndriy Sokolovskiy
2015-05-30Name PostgreSQL correctly.Marc Tamlyn
2015-05-30Add HasAnyKeys lookup for HStoreField.Marc Tamlyn
2015-05-24Fixed forms import.Florian Apolloner
2015-05-24Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
2015-05-13Fixed #24751 -- Fixed HStoreField isnull lookup.Tim Graham
2015-04-18Stopped special-casing postgres-specific testsClaude Paroz
Refs #23879.
2015-02-17Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL.Tim Graham
2014-11-04Added HStoreField.Marc Tamlyn
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.