summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
AgeCommit message (Expand)Author
2017-10-12[2.0.x] Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.Paulo
2017-09-18Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary ...Mariusz Felisiak
2017-09-06Refs #23919 -- Replaced usage of django.utils.functional.curry() with functoo...Sergey Fedoseev
2017-09-05Fixed #28335 -- Allowed query expressions in Meta.ordering.Dima Kudosh
2017-08-11Refs #28459 -- Optimized ModelState instantiation.Sergey Fedoseev
2017-08-11Fixed #28456 -- Allowed customizing Model pickling by overriding __getstate__().Nerl~
2017-08-10Refs #16043 -- Refactored internal fields value cache.Paulo
2017-08-02Refs #28459 -- Improved performance of Model.from_db() when fields are deferred.Sergey Fedoseev
2017-07-31Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev
2017-06-11Refs #23919 -- Removed support for broken Model.__str__() in Model.__repr__().Tim Graham
2017-06-09Fixed #27953 -- Added instance's pk to Model.__str__().Collin Anderson
2017-06-08Fixed #28282 -- Fixed class-based indexes name for models that only inherit M...Jon Dufresne
2017-06-05Replaced Model._get_pk_val() with pk property.Tim Graham
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-04-27Replaced set |= operator with update() to avoid temporary set.Jon Dufresne
2017-03-21Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.Tim Graham
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.Tim Graham
2016-12-15Optimized Model instantiation a bit.Adam Chainz
2016-12-05Refs #27025 -- Fixed Python 3.6 deprecation warning for empty model super() c...Tim Graham
2016-11-25Fixed #27532 -- Deprecated Model._meta.has_auto_fieldAdam Chainz
2016-11-24Improved the way Model.save() skips the auto_field.Adam Chainz
2016-11-22Fixed #27295 -- Added a system check to prohibit model names that start or en...Quentin Fulsher
2016-11-20Fixed #27512 -- Removed unused code in Model.__init__().Adam Chainz
2016-11-20Refs #26207 -- Removed obsolete comments about deferred model classes.Adam Chainz
2016-11-20Fixed #27514 -- Tested Model.__init__ excessive number of fields.Adam Chainz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-10-11Replaced '__' with LOOKUP_SEP constant.Nick Pope
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
2016-06-30Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check.Andrew Nester
2016-06-13Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.Jon Dufresne
2016-05-18Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-16Fixed #24305 -- Allowed overriding fields on abstract models.Aron Podrigal
2016-05-03Refs #16508 -- Made Model.__init__() aware of virtual fields.Michal Petrucha