Hi, Im using django 1.1.1, and i'm trying to defer a queryset, but it doesn't seem to work. Here's my callback:
def open(request, id=None): > """Callback to fire when a specific floor is opened.""" > if request.user.is_authenticated(): > if id: > data = serializers.serialize('json', > Floor.objects.filter(id=id)) > else: > object = Floor.objects.only("name").all() > print object.values() > data = serializers.serialize('json', Floor.objects.all()) > #print data > return HttpResponse(data) > > return HttpResponse("Operation not permitted!") > Thanks in advance. Grtz, Dexter -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.