summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_ranges.py
AgeCommit message (Collapse)Author
2016-02-16[1.9.x] Fixed #26215 -- Fixed RangeField/ArrayField serialization with None ↵Claude Paroz
values Also added tests for HStoreField and JSONField. Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and the review. Backport of 928c12eb1 from master.
2015-12-03[1.9.x] Fixed many spelling mistakes in code, comments, and docs.Josh Soref
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-06-06Switch to aware datetimes in test.Matthew Somerville
2015-06-06Instead of using DjangoJSONEncoder, use base_field's value_to_string.Matthew Somerville
Note this means the serialization of e.g. IntegerRangeField now has strings for lower and upper, so use to_python when they came back in (same behaviour as ArrayField, hopefully, from where I also got the set_attributes_from_name function).
2015-06-05Fixed #24937 -- fix serialization of Date(Time)RangeField.Matthew Somerville
Use the DjangoJSONEncoder so that datetime and date are encoded appropriately.
2015-06-04Fixed #24837 -- field__contained_by=RangeMarc Tamlyn
Provide `contained_by` lookups for the equivalent single valued fields related to the range field types. This acts as the opposite direction to rangefield__contains. With thanks to schinckel for the idea and initial tests.
2015-05-30Name PostgreSQL correctly.Marc Tamlyn
2015-05-25Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's ↵Villiers Strauss
prepare_value()
2015-04-28Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol
2015-04-18Stopped special-casing postgres-specific testsClaude Paroz
Refs #23879.
2015-02-20Fixed #24341 -- Added specific error messages to RangeField subclassesforesmac
2015-02-17Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-22Fixed #24170 -- Implemented decompress for BaseRangeField widgetsNg Zhi An
2015-01-10Fixed #24001 -- Added range fields for PostgreSQL.Marc Tamlyn
Added support for PostgreSQL range types to contrib.postgres. - 5 new model fields - 4 new form fields - New validators - Uses psycopg2's range type implementation in python