Hi, If I recal, you need to repeat the variable name in the URL to actually pass a list of values. Try this and see how you go: http://<machine>:8000/project/app/student__id__in=15&student__id__in=2
On Feb 23, 7:55 am, [EMAIL PROTECTED] wrote: > Hi all. > > Is it possible to pass the following using the admin url: > http://<machine>:8000/project/app/student__id__in=15,2 > > I am looking for a value of 15. Currently, both admin and newadmin > translates it to the query: student__id__in ('1','5',','2') > > Is there a way to only let it translate to: student__id__in('15','2') > > It seems very simple, but I did not know how to do it. > > Thank you for your responses. > > sanrioyt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---