| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-11-29 | [2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext. | Mads Jensen | |
| Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master | |||
| 2017-11-01 | [2.0.x] Fixed #28749 -- Added subquery support for ArrayField's __in lookup. | Michał Pasternak | |
| Backport of e554b72a2a5473f3f1e57a32565758757a9e8e87 from master | |||
| 2017-09-13 | Merged isinstance() calls. | Mariusz Felisiak | |
| 2017-07-20 | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | |
| Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-07-14 | Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵ | Sergey Fedoseev | |
| _output_field). | |||
| 2017-04-27 | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-11 | Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. | Mads Jensen | |
| 2017-02-07 | Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField. | Mariusz Felisiak | |
| Thanks Mariusz Felisiak and Tim Graham for polishing the patch. | |||
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-16 | Removed unneeded variable in contrib/postgres/fields/jsonb.py. | Dmitry Dygalo | |
| 2017-01-14 | Refs #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-06 | Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys. | Simon Charette | |
| Thanks Harris Lapiroff for the report. | |||
| 2016-12-15 | Fixed #27582 -- Allowed HStoreField to store null values. | David Hoffman | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-09-22 | Fixed #27257 -- Fixed builtin text lookups on JSONField keys. | Simon Charette | |
| Thanks Nick Stefan for the report and Tim for the review. | |||
| 2016-09-21 | Fixed #26610 -- Added CITextField to contrib.postgres. | Mads Jensen | |
| 2016-09-20 | Refs #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-07 | Fixed #26908 -- Fixed crash with jsonfield__key__isnull lookup. | Tim Graham | |
| 2016-08-25 | Fixed #25995 -- Added an encoder option to JSONField | Claude Paroz | |
| Thanks Berker Peksag and Tim Graham for the reviews. | |||
| 2016-08-19 | Fixed #22288 -- Fixed F() expressions with the __range lookup. | Matthew Wilkes | |
| 2016-05-04 | Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup() | Claude Paroz | |
| Thanks Tim Graham for completing the initial patch. | |||
| 2016-04-03 | Fixed #26101 -- Allowed introspection of base_field.model in RangeField | anna | |
| Used the same test and fix as in #25867. This required initializing base_field in RangeField.__init__, not when setting the attribute. | |||
| 2016-03-15 | Fixed #25579 -- Fixed ArrayField.get_db_prep_value() to allow complex types. | Matt C | |
| 2016-03-12 | Fixed #25143 -- Added ArrayField.from_db_value(). | Fernando Miranda | |
| Thanks Karan Lyons for contributing to the patch. | |||
| 2016-02-16 | Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values | Claude 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-12 | Removed unneeded hint=None/obj=None in system check messages. | Tim Graham | |
| 2016-01-29 | Fixed #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-17 | Fixed #25841 -- Handled base array fields validation errors with params. | Simon Charette | |
| Thanks to Trac alias benzid-wael for the report. | |||
| 2015-12-17 | Fixed #25544 -- Removed duplicate ids in prefetch_related() queries. | Ian Foote | |
| 2015-12-07 | Fixed #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-25 | Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays. | Attila Tovt | |
| 2015-11-14 | Fixed #25666 -- Fixed the exact lookup of ArrayField. | Dmitry Dygalo | |
| 2015-09-21 | Fixed #24629 -- Unified Transform and Expression APIs | Josh Smeaton | |
| 2015-08-05 | Fixed #25226 -- Set the model attribute on ArrayField's base_field | Ion Scerbatiuc | |
| 2015-07-14 | Fixed #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-06 | Instead 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-05 | Fixed #24937 -- fix serialization of Date(Time)RangeField. | Matthew Somerville | |
| Use the DjangoJSONEncoder so that datetime and date are encoded appropriately. | |||
| 2015-06-04 | Fixed #24837 -- field__contained_by=Range | Marc 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-30 | Fixed #24604 -- Added JSONField to contrib.postgres. | Marc Tamlyn | |
| 2015-05-30 | Add HasAnyKeys lookup for HStoreField. | Marc Tamlyn | |
| 2015-05-13 | Fixed #24751 -- Fixed HStoreField isnull lookup. | Tim Graham | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-02-20 | Fixed #24373 -- Added run_validators to ArrayField. | Marc Tamlyn | |
| Thanks to DavidMuller for the report. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-20 | Fixes #24169 -- More arrayfield specific lookups. | Marc Tamlyn | |
| varchar()[] cannot compare itself to text[] Thanks to joelburton for the patch. | |||
| 2015-01-16 | Fixed #24092 -- Widened base field support for ArrayField. | Marc Tamlyn | |
| Several issues resolved here, following from a report that a base_field of GenericIpAddressField was failing. We were using get_prep_value instead of get_db_prep_value in ArrayField which was bypassing any extra modifications to the value being made in the base field's get_db_prep_value. Changing this broke datetime support, so the postgres backend has gained the relevant operation methods to send dates/times/datetimes directly to the db backend instead of casting them to strings. Similarly, a new database feature has been added allowing the uuid to be passed directly to the backend, as we do with timedeltas. On the other side, psycopg2 expects an Inet() instance for IP address fields, so we add a value_to_db_ipaddress method to wrap the strings on postgres. We also have to manually add a database adapter to psycopg2, as we do not wish to use the built in adapter which would turn everything into Inet() instances. Thanks to smclenithan for the report. | |||
| 2015-01-10 | Fixed #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 | |||
