Open AbhiAgarwal opened 6 years ago
queryset = Player.objects.prefetch_related( 'teams' # use prefetch_related to minimize db hits. ).all()
https://github.com/manjitkumar/drf-url-filters
really important. speeds up all the queries. do this for contacts in lists