Background
After conducting an investigation in task T250084 to check why the EventStream kept disconnecting, the team concluded that the data collection script needs to be refactored. This refactoring will take place on another ticket, but first, we need to upgrade the Django version to exploit the new features like a JSON field that might be needed in the algorithm refactoring and Async views for making expensive queries without having the server crash out.
Acceptance criteria
- Django 3.1 is running successfully in the staging and production environments