Projet

Général

Profil

Development #70631

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

Ajouté par Benjamin Dauvergne il y a plus d'un an. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
25 octobre 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

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()

Fichiers

Révisions associées

Révision 6f9ebfd8 (diff)
Ajouté par Benjamin Dauvergne il y a plus d'un an

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()

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus d'un an

#3

Mis à jour par Valentin Deniaud il y a plus d'un an

  • Statut changé de Solution proposée à Solution validée
#4

Mis à jour par Benjamin Dauvergne il y a plus d'un an

  • Statut changé de Solution validée à 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

Mis à jour par Transition automatique il y a plus d'un an

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a environ un an

Automatic expiration

Formats disponibles : Atom PDF