Project

General

Profile

Development #70631

Dépréciation: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.

Added by Benjamin Dauvergne 4 months ago. Updated about 2 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
25 October 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

tests/test_commands.py::test_clean_unused_account
tests/test_commands.py::test_clean_unused_account_user_logs_in
tests/test_commands.py::test_clean_unused_account_always_alert
tests/test_commands.py::test_clean_unused_account_human_duration_format[730-2\xa0years]
tests/test_commands.py::test_clean_unused_account_human_duration_format[500-1\xa0year]
tests/test_commands.py::test_clean_unused_account_human_duration_format[65-2\xa0months]
tests/test_commands.py::test_clean_unused_account_login_url
tests/test_commands.py::test_clean_unused_account_max_mails_per_period
  /home/bdauvergne/wd/eo/authentic/src/authentic2/utils/misc.py:699: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.
    request = middleware.StoreRequestMiddleware().get_request()

Files

Associated revisions

Revision 6f9ebfd8 (diff)
Added by Benjamin Dauvergne 3 months ago

misc: do not instantatiate StoreRequestMiddleware without an argument (#70631)

If fixes this warning :

src/authentic2/utils/misc.py:699: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.
request = middleware.StoreRequestMiddleware().get_request()

History

#1

Updated by Benjamin Dauvergne 4 months ago

#3

Updated by Valentin Deniaud 3 months ago

  • Status changed from Solution proposée to Solution validée
#4

Updated by Benjamin Dauvergne 3 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 6f9ebfd8274bd124e067560a776f3e36974e13cc
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Oct 25 07:35:30 2022 +0200

    misc: do not instantatiate StoreRequestMiddleware without an argument (#70631)

    If fixes this warning :

      src/authentic2/utils/misc.py:699: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.
        request = middleware.StoreRequestMiddleware().get_request()
#5

Updated by Transition automatique about 2 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF