| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-29 | Used model's Options.label where applicable. | Mariusz Felisiak | |
| Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49. | |||
| 2020-11-02 | Fixed #32132 -- Fixed column types in m2m intermediary tables for ↵ | David-Wobrock | |
| Positive(Big/Small)IntegerFields. | |||
| 2020-09-21 | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | |
| Thanks Simon Charette and Mariusz Felisiak for reviews. | |||
| 2020-09-09 | Fixed #31750 -- Made models.Field equality compare models for inherited fields. | Ryan Hiebert | |
| 2020-06-05 | Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values. | Sasha Pachev | |
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-04-27 | Removed unnecessary tuple wrapping of single format string argument. | François Freitag | |
| 2020-04-24 | Refs #31369 -- Deprecated models.NullBooleanField in favor of ↵ | Tim Schilling | |
| BooleanField(null=True). | |||
| 2020-02-24 | Fixed #31286 -- Made database specific fields checks databases aware. | Taoup | |
| Follow up to 0b83c8cc4db95812f1e15ca19d78614e94cf38dd. | |||
| 2020-01-15 | Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ↵ | Carlton Gibson | |
| choices. Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a | |||
| 2020-01-11 | Fixed #31155 -- Fixed a system check for the longest choice when a named ↵ | Mariusz Felisiak | |
| group contains only non-string values. Regression in b6251956b69512bf230322bd7a49b629ca8455c6. Thanks Murat Guchetl for the report. | |||
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2019-11-05 | Refs #30095 -- Added Field._choices_is_value(). | Hasan Ramezani | |
| This allows fields classes to override the validation of choices' values. | |||
| 2019-11-04 | Fixed #30931 -- Restored ability to override Model.get_FIELD_display(). | Carlton Gibson | |
| Thanks Sergey Fedoseev for the implementation idea. Regression in a68ea231012434b522ce45c513d84add516afa60. | |||
| 2019-10-31 | Refs #30095 -- Simplified Field._check_choices() a bit. | Mariusz Felisiak | |
| Using an internal is_value() hook to check whether Field.choices is iterable is misleading. | |||
| 2019-09-24 | Removed some outdated backwards compatibility imports and misleading comments. | Mads Jensen | |
| EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef. | |||
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-09-09 | Fixed #30757 -- Added a system check to ensure max_length fits the longest ↵ | Nick Pope | |
| choice. | |||
| 2019-09-02 | Refs #28442 -- Adjusted related lookups handling of expression rhs. | Simon Charette | |
| Expressions should never be prepared as other Lookup.get_prep_lookup implementations hint at by returning early on the presence of the resolve_expression attribute. The previous solution was only handling lookups against related fields pointing at AutoFields and would break for foreign keys to other fields. It was also causing bidirectional coupling between model fields and expressions which the method level import of OuterRef was a symptom of. | |||
| 2019-08-20 | Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵ | Nick Pope | |
| and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField. | |||
| 2019-08-15 | Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to ↵ | zeyneloz | |
| respect model's Meta.ordering. Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-08-14 | Optimized Field.deconstruct() by using elif. | Mads Jensen | |
| 2019-08-05 | Fixed #28393 -- Added helpful error messages for invalid ↵ | Diederik van der Boor | |
| AutoField/FloatField/IntegerField values. Co-authored-by: Diederik van der Boor <vdboor@edoburu.nl> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2019-08-02 | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | |
| 2019-07-25 | Fixed #30657 -- Allowed customizing Field's descriptors with a ↵ | Jon Dufresne | |
| descriptor_class attribute. Allows model fields to override the descriptor class used on the model instance attribute. | |||
| 2019-07-25 | Refs #30657 -- Made DeferredAttribute.__init__() to take a field instance ↵ | Jon Dufresne | |
| instead of a field name. | |||
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2019-05-02 | Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path. | Mykola Kokalko | |
| 2019-04-29 | Simplified Field.contribute_to_class(). | Jon Dufresne | |
| 2019-04-19 | Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a ↵ | Scott Fitsimones | |
| custom validator is callable. | |||
| 2019-04-14 | Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of ↵ | Mariusz Felisiak | |
| related field is UUIDField. | |||
| 2019-03-25 | Fixed #28431 -- Added a system check for BinaryField to prevent strings ↵ | Hasan Ramezani | |
| defaults. Thanks Claude Paroz for the initial patch. | |||
| 2019-03-04 | Fixed #30232 -- Corrected expected format in invalid DurationField error ↵ | avas9366 | |
| message. | |||
| 2019-01-30 | Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty. | Joshua Cannon | |
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2018-11-30 | Fixed #30001 -- Marked UUIDField.description for translation. | Prabakaran Kumaresshan | |
| 2018-11-23 | Refs #23801 -- Made integer field max_length warning show correct field type. | Nick Pope | |
| 2018-11-23 | Removed redundant BigIntegerField.empty_strings_allowed (already inherited). | Nick Pope | |
| 2018-11-14 | Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering. | Hasan Ramezani | |
| 2018-10-24 | Fixed #29869 -- Made UUIDField.to_python() convert integers. | Sanyam Khurana | |
| 2018-08-28 | Refs #27795 -- Removed force_bytes()/smart_text() from model fields. | Jon Dufresne | |
| 2018-08-22 | Fixed #29698 -- Fixed Field._check_choices() crash on invalid choices. | Franck Michea | |
| 2018-08-01 | Simplified comment in BooleanField.to_python(). | Tim Graham | |
| 2018-05-29 | Refs #28748 -- Reallowed lazy model field choices. | Tim Graham | |
| Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986. | |||
| 2018-04-20 | Fixed #29247 -- Allowed blank model field choice to be defined in nested ↵ | orlnub123 | |
| choices. | |||
| 2018-03-20 | Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField. | Nick Pope | |
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2018-03-03 | Added model name to AutoField error message. | Almad | |
| 2018-02-20 | Fixed #28442 -- Fixed crash with nested OuterRefs that reference AutoField. | Oliver Sauder | |
| 2018-02-05 | Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation ↵ | Raymond Hettinger | |
| warnings. https://bugs.python.org/issue25988 | |||
