3 ms·
I recently upgraded [0] one of my project [1] to Django v4, from Django v1. The changes from Django 3 to 4 were fairly simple, just one line change in my case.
by avinassh 5y ago
I recently upgraded [0] one of my project [1] to Django v4, from Django v1. The changes from Django 3 to 4 were fairly simple, just one line change in my case. The change log is extremely detailed, it was easy to upgrade. Also, I found a tool called django-upgrade [2] which makes some changes automatically, rest I made manually.
[0] - https://avi.im/blag/2021/rc-day-20/ https://avi.im/blag/2021/rc-day-20/
[1] - https://github.com/avinassh/della https://github.com/avinassh/della
[2] - https://github.com/adamchainz/django-upgrade https://github.com/adamchainz/django-upgrade
- fernandotakai 5y agothat's super nice to know -- i need to upgrade a django app from 1.11 to 4 over the next couple of weeks!
- spapas82 5y agoIf the 1.11 project is in python 3 then it would be a piece of cake. If it's in python 2 then it will need a little more effort to convert to python 3 but but not much really. Django have hasn't changed that much since 1.11!