Django 4.2 LTS (2023-04-03 => 2026-04) ¶
Annonces ¶
2023-04-03 Felix Felisiak announce ¶
We did it! 🎉 Django 4.2 the latest and greatest LTS release is out 🔥
Many thanks to everyone who devoted their time and effort to make this possible 💚 🌟 #django #opensource #python
Annonce de Adam Johnson ¶
🎉 Welcome to the era of #Django 4.2
https://www.djangoproject.com/weblog/2023/apr/03/django-42-released/
django-upgrade has three fixers to help you upgrade.
Example
django-upgrade --target-version 4.2 config/settings/base.py
STORAGES = {
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}
Warning
do not forget
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},