[Answer]-Queryset not displayed in django admin interface

1👍

I think it should be get_queryset but not queryset method.

def get_queryset(request):
   #your code here
   queryset = super(UkopcanjeAdmin, self).get_queryset(request)
   if 'miesto' in request.GET:
       print 'Yes'
       return queryset
   else:
       print 'No'

Here is some short explanation from Django docs.

Leave a comment