Closed csmall closed 11 years ago
Thanks, should be fixed by https://github.com/TurboGears/tgext.crud/commit/803e08ad91ac63dc8f781490fddbb6637ea4ba5e
To correctly work it will required TG2.3 which provides JSON encoding support for paginated collections: https://github.com/TurboGears/tg2/commit/14156753a6f1dd7fab5f48ee5987b9d3c9d73ea1
Try to go to any admin url with json, such as http://localhost:8080/admin/groups.json and it throws an error.
The controller basically tales a sqlalchemy query and dumps it to the json encoder. I think the error is being thrown within DecoratedController.
Not sure what a list is a problem but a dictionary is ok, but there you go.