My application was running fine till few days back, but now all of a sudden i'm seeing this error and not sure what it means, please help.
Error:
File "/myproj/myapp/urls.py", line 8, in <module>
from rest_framework import routers
File "/usr/local/lib/python3.8/site-packages/rest_framework/routers.py", line 22, in <module>
from rest_framework import views
File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 15, in <module>
from rest_framework.request import Request
File "/usr/local/lib/python3.8/site-packages/rest_framework/request.py", line 17, in <module>
from django.http.multipartparser import parse_header
ImportError: cannot import name 'parse_header' from 'django.http.multipartparser' (/usr/local/lib/python3.8/site-packages/django/http/multipartparser.py)
my line 8 of urls.py is:
from rest_framework import routers
and i could see the parse_header method in the multipartparser.py file PFA