4👍
This looks like a compatibility problem between the versions of Django and Django Rest Framework. Upgrading to the latest version of DRF should resolve it.
(I had this error after upgrading Django 3.0.x to 3.2)
👤Tom
0👍
Update all packeges you have installed in your project
pip install <package_name> --upgrade
Source:stackexchange.com