Développement #68576
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: replaced *_text with *_str equivalent (#68576)
django4: replaced urls.url with url.re_path equivalent (#68576)
django4: fix default AppConfig deprecation warnings (#68576)
django4: replaced depracated urlquote call (#68576)
Revert "django4: fix default AppConfig deprecation warnings (#68576)"
This reverts commit fdfad9a78ace19f752f5e090efd30fc04ed4cf3f.
History
Updated by A. B. over 2 years ago
- File 0004-django4-fix-default-AppConfig-deprecation-warnings-6.patch 0004-django4-fix-default-AppConfig-deprecation-warnings-6.patch added
- File 0003-django4-replaced-urls.url-with-url.re_path-equivalen.patch 0003-django4-replaced-urls.url-with-url.re_path-equivalen.patch added
- File 0001-django4-replaced-ugettext-calls-with-corresponding-g.patch 0001-django4-replaced-ugettext-calls-with-corresponding-g.patch added
- File 0002-django4-replaced-_text-with-_str-equivalent-68576.patch 0002-django4-replaced-_text-with-_str-equivalent-68576.patch added
- File 0005-django4-replaced-depracated-urlquote-call-68576.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
On passe de quelque chose comme 15000 warnings à 600. Ceux qui restent ne sont pas directement liés à Django 4, c'est principalement des fichiers pas fermés correctements, je pense que ça mérite une correction, je fais ça séparément.
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 18dd57232acccec018e94653647f5d0fbbd02e89 Author: A.B Date: Wed Aug 31 10:45:33 2022 +0200 django4: replaced depracated urlquote call (#68576) commit fdfad9a78ace19f752f5e090efd30fc04ed4cf3f Author: A.B Date: Wed Aug 31 10:40:03 2022 +0200 django4: fix default AppConfig deprecation warnings (#68576) commit ff6c68b21c9388c506d34a27e0d9f1a14465c7de Author: A.B Date: Wed Aug 31 10:29:38 2022 +0200 django4: replaced urls.url with url.re_path equivalent (#68576) commit 1a17d3efa6e299864ab1259d2df099ceb907f258 Author: A.B Date: Wed Aug 31 10:21:14 2022 +0200 django4: replaced *_text with *_str equivalent (#68576) commit c53c6162ed0cf58ee122ed976a8175d0e104872f Author: A.B Date: Wed Aug 31 10:16:04 2022 +0200 django4: replaced ugettext* calls with corresponding gettext* calls (#68576)
Updated by Transition automatique over 2 years ago
- Status changed from Résolu (à déployer) to Solution déployée
django4: replaced ugettext* calls with corresponding gettext* calls (#68576)