Hello,
Acurl post request is throwing this error:
Request Method: | POST |
---|---|
Request URL: | http://127.0.0.1:8000/setProfile/ |
Django Version: | 1.8 |
Exception Type: | TypeError |
Exception Value: | argument of type 'ReadOnlyField' is not iterable |
Exception Location: | /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rest_framework/serializers.py in _get_model_fields, line 1243 |
Python Executable: | /Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 |
Python Version: | 3.4.3 |
Python Path: | ['/Users/PycharmProjects/screens', '/Users/PycharmProjects/screens', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python34.zip', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/plat-darwin', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages' Appreciate any input on how to troubleshoot this. - Shekar |
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7fbf5109-98ad-4f4b-a652-8ce4778aaf9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment