No
Note: you use 'ReadOnlyField' argument type is error, case modules call of django is incorrect在 2015年5月29日星期五 UTC+8下午4:43:29,Shekar Tippur写道:
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 iterableException 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/316e5f29-0721-4368-8e97-144a1cfb4dbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment