#uninstall your courrent version drf by tying
pip uninstall djangorestframework
#and then install the drf 3.13.1 by running below code .
pip install djangorestframework==3.13.1