Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

The wadofstuff-django-serializers casts all "extras" to strings using django.utils.encoding.smart_unicode #13

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Add a custom method to your Model that returns a list
2. Add the above custom method to the "extras" of the serialize function using 
the 'json' serializer type

What is the expected output? What do you see instead?

Expected is json Array type and not a stringified list "[1,2,3]"

What version of the product are you using? On what operating system?

wadofstuff-django-serializers 1.0.0

Please provide any additional information below.

I have attached a patched version of wadofstuff.django.serializers.python.
The patch may need review.

Original issue reported on code.google.com by alen.ri...@gmail.com on 14 Sep 2010 at 5:48

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions