Hi,
When I try to serializes a object with the function below:
def left(request):
query = Talk.objects.all()
data = serializers.serialize("xml",query,ensure_ascii=False)
return HttpResponse(data)
Always give me this kind of error message.But if I just simply return
HttpResponse(query), it all works.
-----------------------------------------------------
DoesNotExist at /Talk/Left
Talk matching query does not exist.
-----------------------------------------------------
Any Idea ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---