querysets

12 views
Skip to first unread message

MikeKJ

unread,
Apr 3, 2012, 6:24:39 AM4/3/12
to Django users
Although I use the queryset I dont really understand the object
return, when the object is returned just what is returned
like
list = This.objects.all()
list is [<xxxx:A name>, <xxxx:A name]

The reason for asking I am getting returned to a view a list of names
that are the same as the name of an object and obviously they are not
an object so how do i get an object list from a list of names

as in I get ?return_list=A name,B name,C name

list = request.GET.get('return_list)

from there how do I get an object list?

MikeKJ

unread,
Apr 3, 2012, 6:49:46 AM4/3/12
to django...@googlegroups.com

FORGET THIS, I was having a brain fart
Reply all
Reply to author
Forward
0 new messages