fixed distinct() not implemented

I'm using queryset.distinct()
no Exception and don't work!!!

So fixed it!