summaryrefslogtreecommitdiff
path: root/django/db/models/fields
AgeCommit message (Collapse)Author
2017-05-11Fixed #28188 -- Fixed crash when pickling model fields.Tim Graham
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86. Thanks Adam Alton for the report and test, and Adam Johnson for suggesting the fix.
2017-05-09Fixed #28164 -- Improved float conversions in DecimalField.to_pythonClaude Paroz
Thanks Tim Graham and Adam Johnson for the reviews.
2017-05-05Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign ↵Tim Graham
key's parent model as the lookup value. Thanks Simon Charette for review.
2017-05-03Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child ↵Tim Graham
model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-25Refs #20939 -- Removed the Query._forced_pk hack.Simon Charette
2017-04-24Fixed #28120 -- Checked that CharField.max_length is not a boolean.Carles Pina Estany
2017-04-10Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a ↵Tim Graham
OneToOneField pk. Regression in 1bc249c2a67c24fcd28436c85388eff1d826e305.
2017-04-07Fixed #27777 -- Made File.open() work with the with statement (#8310)Ingo Klöcker
Fixed #27777 -- Made File.open() work with the with statement
2017-03-23Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields ↵Kapil Garg
with choices.
2017-03-11Fixed #27904 -- Added a system check that Field.validators are callable.Adam Chainz
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-28Removed obsolete references to form_for_instance().Tim Graham
2017-02-20Fixed typo in DurationField's docstring.Alexey Rogachev
2017-02-10Refs #27148 -- Fixed UUIDField.to_python(None) crash.ClairePhila
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.
2017-02-10Allow UUIDField to be None when deserializingClairePhila
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
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 -- Removed str() conversion of type and method __name__.Simon Charette
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
__ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
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
Per deprecation timeline. Refs ed0ff913c648b16c4471fc9a9441d1ee48cb5420.
2017-01-17Refs #26058 -- Removed deprecated FileField.get_directory_name()/get_filename().Tim Graham
2017-01-17Refs #16508 -- Removed virtual aliases of "private fields".Tim Graham
Per deprecation timeline.
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
2017-01-17Refs #25550 -- Removed support for direct assignment to the reverse side of ↵Tim Graham
a related set.
2017-01-17Refs #24716 -- Removed Field._get_val_from_obj() per deprecation timeline.Tim Graham
2017-01-17Refs #24215 -- Removed add_lazy_relation() per deprecation timeline.Tim Graham
2017-01-17Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.Tim Graham
Per deprecation timeline.
2017-01-17Removed Field.rel and Field.remote_field.to per deprecation timeline.Tim Graham
2016-12-30Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵Andrew Nester
db_table on Oracle.
2016-12-28Fixed #27651 -- Allowed M2M to concrete and proxy through model.Tim Graham
2016-12-23Refs #18823 -- Corrected field name in an m2m manager error message.Andrey Kuzminov
2016-12-20Removed unneeded values in NullBooleanField.formfield().Tim Graham
These values are duplicated in the super().
2016-12-15Optimized Model instantiation a bit.Adam Chainz
* Avoid some unnecessary attribute lookups, e.g. access signals directly rather than from module * Alias some repeat accesses inside the method to use the slightly faster local lookups * Use tuple to iterate remaining kwargs as it's faster to construct * Cache Field.get_default() to avoid running through all the logic on every call * Use a cached list of the properties on the model class to avoid repeat isinstance() calls
2016-12-14Fixed #27599 -- Fixed Field.__str__() crash for fields not attached to models.Morgan Aubert
2016-12-07Fixed #17002 -- Allowed using a ManyToManyField through model that inherits ↵InvalidInterrupt
another.
2016-11-30Refs #27358 -- Fixed system check crash with an empty FileField.upload_to.Lex Berezhny
2016-11-29Fixed #27358 -- Added a system check to prevent FileField's upload_to from ↵Henry Dang
starting with a slash. Thanks Frank Bijlsma for the initial patch.
2016-11-25Fixed #27532 -- Deprecated Model._meta.has_auto_fieldAdam Chainz