summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/fields
AgeCommit message (Collapse)Author
2019-03-03[2.2.x] Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10. Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master
2019-02-25[2.2.x] Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-07-27Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields.vinay karanam
2018-05-13Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-01Fixed #28749 -- Added subquery support for ArrayField's __in lookup.Michał Pasternak
2017-10-20Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable ↵Flávio Juvenal
defaults.
2017-09-13Merged isinstance() calls.Mariusz Felisiak
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham
Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-07-14Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵Sergey Fedoseev
_output_field).
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-02-11Refs #26610 -- Added CIText mixin and CIChar/Email/TextField.Mads Jensen
2017-02-07Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField.Mariusz Felisiak
Thanks Mariusz Felisiak and Tim Graham for polishing the patch.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-16Removed unneeded variable in contrib/postgres/fields/jsonb.py.Dmitry Dygalo
2017-01-14Refs #25226 -- Cloned ArrayField.base_field on deconstruction.Simon Charette
This prevents the base_field from sharing attributes with the one used during migrations.
2017-01-06Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.Simon Charette
Thanks Harris Lapiroff for the report.
2016-12-15Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
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-21Fixed #26610 -- Added CITextField to contrib.postgres.Mads Jensen
2016-09-20Refs #27025 -- Fixed ArrayField querying on Python 3.6.Tim Graham
Python 3.6 parses strings like '0_1' as numeric literals. http://bugs.python.org/issue26331
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-08-19Fixed #22288 -- Fixed F() expressions with the __range lookup.Matthew Wilkes
2016-05-04Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz
Thanks Tim Graham for completing the initial patch.
2016-04-03Fixed #26101 -- Allowed introspection of base_field.model in RangeFieldanna
Used the same test and fix as in #25867. This required initializing base_field in RangeField.__init__, not when setting the attribute.
2016-03-15Fixed #25579 -- Fixed ArrayField.get_db_prep_value() to allow complex types.Matt C
2016-03-12Fixed #25143 -- Added ArrayField.from_db_value().Fernando Miranda
Thanks Karan Lyons for contributing to the patch.
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-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
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 #25841 -- Handled base array fields validation errors with params.Simon Charette
Thanks to Trac alias benzid-wael for the report.
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-12-07Fixed #25867 -- Fixed a system check crash with nested ArrayFields.Simon Charette
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-11-25Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.Attila Tovt
2015-11-14Fixed #25666 -- Fixed the exact lookup of ArrayField.Dmitry Dygalo
2015-09-21Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton
2015-08-05Fixed #25226 -- Set the model attribute on ArrayField's base_fieldIon Scerbatiuc
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
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).