| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-02-11 | [1.11.x] Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. | Mads Jensen | |
| Backport of fb5bd38e3b83c7f0d1011de80f922fc34faf740b from master | |||
| 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 | |||
| 2015-01-10 | Move % addition to lookups, refactor postgres lookups. | Marc Tamlyn | |
| These refactorings making overriding some text based lookup names on other fields (specifically `contains`) much cleaner. It also removes a bunch of duplication in the contrib.postgres lookups. | |||
| 2014-12-21 | Fixed #24034 -- Don't always overwrite deconstruct path. | Jernej Kos | |
| Made deconstruct path overwriting for ArrayField conditional, so it only occurs when the deconstructed field is an instance of ArrayField itself and not a subclass. | |||
| 2014-12-09 | Remove text-mangling of default values. | Marc Tamlyn | |
| 2014-11-28 | Fixed #23894 -- Made deconstruct methods favor kwargs over args | Markus Holtermann | |
| 2014-11-16 | Renamed qn to compiler | Josh Smeaton | |
| 2014-11-15 | added test and fix to check for default null on ArrayField | Daan Vielen | |
| 2014-11-04 | Added HStoreField. | Marc Tamlyn | |
| Thanks to `django-hstore` for inspiration in some areas, and many people for reviews. | |||
| 2014-10-09 | Fixed #23627 -- Allowed register_lookup to work as a decorator. | Marc Tamlyn | |
| 2014-07-29 | Fixed #22962 -- Default values for ArrayField with migrations. | Marc Tamlyn | |
| Fields normally try to force the default value to a string. As translatable strings are not valid default values for ArrayField, we can remove this behaviour which was causing issues with some migrations. Thanks to @schinckel for the report. | |||
| 2014-07-15 | Fixed #22907 -- Array contains must have same type. | Marc Tamlyn | |
| 2014-06-17 | Fixed #22819 -- Renamed output_type -> output_field in query expression API. | Tim Graham | |
| Thanks jorgecarleitao for the suggestion. | |||
