thanks.
also when I add 'id' in fields, it appears to just ignore it, I get
back only food_name , group and description. Is it by design or a bug?
serializers.serialize('json',Food.objects.filter(group__exact=my_group),fields=('id','food_name','group','description'))
thanks
Ashish
On Mar 31, 1:56 pm, Jeff Gentry <[EMAIL PROTECTED]> wrote:
> On Mon, 31 Mar 2008, ydjango wrote:
> > u'jsklajdkls'}, {'food_name': u'PMC', 'group': 1L, 'description':
> > u'jsklajdkls'}]
> > ( why do I see u before text in output above?)
>
> It indicates that they're unicode strings.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---