I recently got a task to upgrade my whole Django project to newer version. Currently we are using python version = 2.7 and django version = 1.11.3
When I am upgrading the django version to 2.2.16 and python version to 3.7.12 Now I am getting error -
TypeError: init() missing 1 required positional argument: 'on_delete'
I want two suggestions first how can I add on_delete to all the models of all the apps in my whole project and secondly to which python and django version I should migrate my project to ?
It would be so helpful to me....Thank You in Advance.