tomchristie/django-rest-framework — pull request #1557 by alexlouden (2014-04-30 01:22:00+00:00)
Title: Recreate bug - id is serialised as a string not as an integer as expected

Hey guys,

I've recreated some behaviour in this test that I found unexpected - serialising a string attribute of an object (not a model) using an IntegerField results in a string not an integer.

Am I correct in thinking that this should be outputting an integer? Any ideas on what's going wrong or where I could start looking?

Cheers,