django1/django/db/models
Baptiste Mispelon 09341856ed Used Signature API instead of deprecated inspect.getcallargs().
inspect.getcallargs() was deprecated in Python 3.5 and the Signature
API (PEP 362) has better support for decorated functions (by default,
it follows the __wrapped__ attribute set by functools.wraps for
example).
2019-12-10 09:36:34 +01:00
..
fields Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept callable values in through_defaults. 2019-12-03 19:47:38 +01:00
functions Removed redundant names in django.db.models.functions.__all__. 2019-10-02 13:07:14 +02:00
sql Used Signature API instead of deprecated inspect.getcallargs(). 2019-12-10 09:36:34 +01:00
__init__.py Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones. 2019-11-19 10:55:05 +01:00
aggregates.py Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
base.py Fixed #24858 -- Added support for get_FOO_display() to ArrayField and RangeFields. 2019-11-08 10:59:24 +01:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Fixed #30484 -- Added conditional expressions support to CheckConstraint. 2019-11-21 11:56:35 +01:00
deletion.py Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones. 2019-11-19 10:55:05 +01:00
enums.py Fixed #30902 -- Added __str__() for model choice enums. 2019-10-25 09:19:56 +02:00
expressions.py Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols). 2019-11-21 11:56:35 +01:00
indexes.py Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols). 2019-11-21 11:56:35 +01:00
lookups.py Refs #25367 -- Moved conditional expression wrapping to the Exact lookup. 2019-11-21 11:56:35 +01:00
manager.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
options.py Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL. 2019-09-09 10:51:14 +02:00
query.py Refs #31044 -- Fixed error message when using Prefetch with a values_list() queryset. 2019-12-09 15:45:53 +01:00
query_utils.py Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters. 2019-12-06 13:52:16 +01:00
signals.py Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
utils.py Refs #31046 -- Added django.db.models.utils.resolve_callables(). 2019-12-03 19:47:32 +01:00