Closed GoogleCodeExporter closed 9 years ago
Hi,
The standard Django serializer has a 'fields' option that allows you to specify
only
the fields you want to serialize.
{{{
from django.core import serializers
serializers.serialize('json', your_queryset, fields=('county', 'address',
'etc'))
}}}
Start with reading http://docs.djangoproject.com/en/dev/topics/serialization
then DjangoFullSerializers. If you need to exclude fields you'll need to use my
serializer.
Original comment by mattimus...@gmail.com
on 2 Mar 2009 at 12:16
Original issue reported on code.google.com by
corn13r...@gmail.com
on 1 Mar 2009 at 11:05Attachments: