django1/django/db
Nick Pope 0c71e0f9cf Removed unnecessary reuse_with_filtered_relation argument from Query methods.
In Query.join() the argument reuse_with_filtered_relation was used to
determine whether to use == or .equals(). As this area of code is
related to aliases, we only expect an instance of Join or BaseTable to
be provided - the only two classes that provide .equals().

In both cases, the implementations of __eq__() and equals() are based
on use of the "identity" property. __eq__() performs an isinstance()
check first, returning NotImplemented if required. BaseTable.equals()
then does a straightforward equality check on "identity". Join.equals()
is a little bit different as it skips checking the last element of the
"identity" property: filtered_relation. This was only included
previously when the with_filtered_relation argument was True, impossible
since bbf141bcdc.
2021-04-28 21:19:42 +02:00
..
backends Fixed #32687 -- Restored passing process’ environment to underlying tool in dbshell on PostgreSQL. 2021-04-27 10:43:35 +02:00
migrations Fixed #29899 -- Made autodetector use model states instead of model classes. 2021-04-16 11:18:10 +02:00
models Removed unnecessary reuse_with_filtered_relation argument from Query methods. 2021-04-28 21:19:42 +02:00
__init__.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
transaction.py Fixed #32220 -- Added durable argument to transaction.atomic(). 2020-11-27 21:43:15 +01:00
utils.py Refs #25175 -- Removed postgresql_psycopg2 in django.db.utils.load_backend(). 2021-01-06 20:15:14 +01:00