summaryrefslogtreecommitdiff
path: root/django/db/models
AgeCommit message (Collapse)Author
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-04-07Fixed #23147 -- Disabled a limit/offset on a query with select_for_update on ↵Mariusz Felisiak
Oracle. Thanks Shai Berger and Tim Graham for the reviews.
2017-04-03Refs #27834 -- Removed Value wrapping from StrIndex's substring param.Adam Johnson
2017-04-01Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only ↵Sergey Fedoseev
values, in all positions.
2017-03-29Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least ↵Sergey Fedoseev
and Greatest.
2017-03-29Fixed #25414 -- Fixed QuerySet.annotate() with pk in values() on MySQL.Mariusz Felisiak
Thanks Tim Graham and Simon Charette for the reviews.
2017-03-28Refs #18974 -- Added stacklevel for permalink() deprecation.Tim Graham
2017-03-27Refs #23919 -- Removed some Python 2 compatibility code and comments.Mads Jensen
2017-03-27Fixed #21160 -- Fixed QuerySet.in_bulk() crash on SQLite when requesting ↵Mariusz Felisiak
more than 999 ids. Thanks Andrei Picus and Anssi Kääriäinen for the initial patch and Tim Graham for the review.
2017-03-23Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields ↵Kapil Garg
with choices.
2017-03-23Removed unneeded Value wraps in Substr.Sergey Fedoseev
Unneeded since e2d6e14662d780383e18066a3182155fb5b7747b.
2017-03-21Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.Tim Graham
Thanks Markus Holtermann for review.
2017-03-18Removed unused connector parameter of Query.build_filter().Mads Jensen
Unused since 6fe2b001dba45134d7c10729c57959995e241a88.
2017-03-18Removed unused rest_of_lookups parameter of Query.try_transform().Mads Jensen
Unused since 534aaf56f4a8e261e111426b2a709e2f8816192f.
2017-03-18Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.Mads Jensen
2017-03-14Fixed #27834 -- Added StrIndex database function.Brad Melin
2017-03-14Used constant instead of hard-coded value for max index name lengthMads Jensen
Refs #26709
2017-03-11Fixed #27904 -- Added a system check that Field.validators are callable.Adam Chainz
2017-03-08Refs #27624 -- Made many attributes of Query immutable.Adam Johnson
2017-03-06Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.Bo Marchman
Thanks Andrew Brown for the test case.
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-03-01Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL.Matthew Schinckel
Add aliases from resolved querysets to the parent query's external aliases to prevent those aliases from being quoted. Thanks to Vasily Stepanov for the report and 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-23Refs #11964 -- Made Q objects deconstructible.Ian Foote
2017-02-23Refs #11964, #26167 -- Made Expressions deconstructible.Ian Foote
2017-02-23Refs #23919 -- Used yield from.Vytis Banaitis
2017-02-20Fixed typo in DurationField's docstring.Alexey Rogachev
2017-02-16Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from ↵Vytis Banaitis
DateField on Oracle/PostgreSQL.
2017-02-11Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in ↵Tim Graham
multi-table inheritance models." This reverts commit 74a575eb7296fb04e1fc2bd4e3f68dee3c66ee0a as it causes unexpected migrations and doesn't seem to be the best solution.
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-09Fixed #26551 -- Fixed negated Q() queries that span relations.François Freitag
Prevented queries from reusing trimmed joins.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-06Fixed #27802 -- Unified return value of db backend datetime SQL methods.Mariusz Felisiak
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-31Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash.Lex Berezhny
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-25Removed unused variables that are overwritten.Mads Jensen
2017-01-22Refs #23919 -- Replaced six.reraise by raiseClaude Paroz
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
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 -- Removed __nonzero__() methods (for Python 2).Simon Charette
Thanks Tim for the review.
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