django reverse query params code example
Example 1: django reverse queryset
queryset = reversed(Collection.objects.filter(pk__in = li))
Example 2: django add queury parameters to reverse
response = self.client.get('%s?param1=%s' % (reverse('url'), 'param1_value'))