Changes between Version 4 and Version 5 of Ticket #33626


Ignore:
Timestamp:
04/08/22 07:50:51 (6 months ago)
Author:
Himanshu Balasamanta
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33626 – Description

    v4 v5  
    1  In current source code, in the **_unregister_lookup** method,
    2  [https://github.com/django/django/blame/main/django/db/models/query_utils.py#L212],
    3  the cache is not cleared, which should be done, as it is done in
    4  **register_lookup**,
    5  https://github.com/django/django/blame/main/django/db/models/query_utils.py#L202.
    6  Corresponding to this change, minor changes need to be brought in the
    7  **schema.tests.SchemaTests.test_func_unique_constraint_lookups** test.
     1In current source code, in the **_unregister_lookup** method, [https://github.com/django/django/blame/main/django/db/models/query_utils.py#L212], the cache is not cleared, which should be done, as it is done in **register_lookup**, https://github.com/django/django/blame/main/django/db/models/query_utils.py#L202. Corresponding to this change, minor changes need to be brought in the **schema.tests.SchemaTests.test_func_unique_constraint_lookups** test.
    82The PR generated is https://github.com/django/django/pull/15569
Back to Top