Django version upgrade while using Django River 3.3.0
Currently, the project I’m working on uses Django River 3.3.0 and Django 3.2.19.
Is it possible to upgrade Django to version 4? If we do that, are there any potential issues or risks?
I’ve been assigned to maintain and upgrade this project, but I’m not a professional Python developer, so I would appreciate everyone’s advice.
you could check Django web page - maybe there is information what is new in version 4 (compared to version 3) and if there are some bigger changes which can make problem during migration from 3 to 4.
You should duplicate current code and make modification on this version - so you may compare if new code works the same as old code.
Of course it would be good if you would have some tests which automatically check if code works correctly. You could use Selenium or Playwright to test it in web browser.
With Google I found page Django 4.0 release notes and there is What’s new in Django 4.0 and also Features removed in 4.0 and Backwards incompatible changes in 4.0
There is also link to How to upgrade Django to a newer version but it seems general description for all versions.