typeError at /api/profile/init() got an unexpected keyword argument 'write only'Request Method: GETRequest URL: http://127.0.0.1:8000/api/profile/Django Version: 3.2.25Exception Type: TypeErrorException Value:
init() got an unexpected keyword argument 'write only'Exception Location: /home/vagrant/env/lib/python3.6/site-packages/rest_framework/fields.py, line 738, in initPython Executable: /home/vagrant/env/bin/python3Python Version: 3.6.9Python Path:
['/vagrant','/usr/lib/python36.zip','/usr/lib/python3.6','/usr/lib/python3.6/lib-dynload','/home/vagrant/env/lib/python3.6/site-packages'
everything in the code was correct, can't able to access the api/profile page in django server.