Created
May 19, 2013 00:12
-
-
Save carmi/5606179 to your computer and use it in GitHub Desktop.
HIT: http://localhost:8000/api/geoperson/?format=json Respones:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error_message": "dehydrate() got an unexpected keyword argument 'for_list'", | |
"traceback": "Traceback (most recent call last):\n\n File \"/home/evan/.virtualenvs/wespeople.com/local/lib/python2.7/site-packages/tastypie/resources.py\", line 217, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/home/evan/.virtualenvs/wespeople.com/local/lib/python2.7/site-packages/tastypie/resources.py\", line 459, in dispatch_list\n return self.dispatch('list', request, **kwargs)\n\n File \"/home/evan/.virtualenvs/wespeople.com/local/lib/python2.7/site-packages/tastypie/resources.py\", line 491, in dispatch\n response = method(request, **kwargs)\n\n File \"/home/evan/.virtualenvs/wespeople.com/local/lib/python2.7/site-packages/tastypie/resources.py\", line 1310, in get_list\n bundles.append(self.full_dehydrate(bundle, for_list=True))\n\n File \"/home/evan/.virtualenvs/wespeople.com/local/lib/python2.7/site-packages/tastypie/resources.py\", line 865, in full_dehydrate\n bundle.data[field_name] = field_object.dehydrate(bundle, for_list=for_list)\n\nTypeError: dehydrate() got an unexpected keyword argument 'for_list'\n" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nehagaming12