Développement #68585
Publik - Développement #68182: montée de version django (→ 4.2 LTS)
Préparation django 4 : DeprecationWarnings
Status:
Fermé
Priority:
Normal
Assignee:
A. B.
Target version:
-
Start date:
31 August 2022
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
No
Description
Cf tâche parente
Files
Associated revisions
django4: fix default AppConfig deprecation warnings (#68585)
Revert "django4: fix default AppConfig deprecation warnings (#68585)"
This reverts commit aa576e205f9ab2d08b51b1861a9969d5f0d03ee1.
History
Updated by A. B. over 2 years ago
- File 0001-django4-replaced-deprecated-request.is_ajax-call-685.patch 0001-django4-replaced-deprecated-request.is_ajax-call-685.patch added
- File 0002-django4-fix-default-AppConfig-deprecation-warnings-6.patch 0002-django4-fix-default-AppConfig-deprecation-warnings-6.patch added
- Status changed from Nouveau to Solution proposée
- Patch proposed changed from No to Yes
Updated by A. B. over 2 years ago
- Assignee changed from A. B. to Benjamin Dauvergne
0002 plus gros que ce que j'aurais souhaité car certaines apps étaient dans le __init__.py
, d'autre dans un apps.py
. J'ai du harmoniser, toutes les AppConfig
sont maintenant rangées dans le apps.py
de chaque application, et référencées explicitements dans settings.INSTALLED_APPS
. Ça permet d'être compatible django 2, 3 et 4.
Updated by Benjamin Dauvergne over 2 years ago
- Status changed from Solution proposée to Solution validée
Updated by A. B. over 2 years ago
- Status changed from Solution validée to Résolu (à déployer)
commit 72bf620c8452cbd9f4b86094d55faef6596d0260 Author: Agate Berriot <aberriot@entrouvert.com> Date: Wed Aug 31 16:21:16 2022 +0200 django4: fix default AppConfig deprecation warnings (#68585) commit 51f53b3b122a4b473df60a0dc58fb451a1582cf9 Author: Agate Berriot <aberriot@entrouvert.com> Date: Wed Aug 31 15:54:14 2022 +0200 django4: replaced deprecated request.is_ajax() call (#68585)
Updated by Transition automatique over 2 years ago
- Status changed from Résolu (à déployer) to Solution déployée
django4: replaced deprecated request.is_ajax() call (#68585)