CuiBono/cuibono_webservice — Issue #5: django-piston complaining about iterating over many-related fields?
Author: boblannon
Created: 2011-12-19 18:16:58+00:00
State: open

i commented out a couple of lines in /api/handlers.py because they're making piston complain. they're both lines that iterate over the tags and articles associated with an add. this seemed fine to me, but i guess it's too crude. something tells me we'll have to use piston's json emitter.

Piston/0.2.3rc1 (Django 1.3.1) crash report:

Method signature does not match.

Signature should be: the_hash

Exception was: 'ManyRelatedManager' object is not iterable