code: def reverse_lazy_with_query(named_url,**kwargs):
      "Reverse named URL with GET query (lazy version)"
      q = QueryDict('',mutable=True)
      q.update(kwargs)
      return '{}?{}'.format(reverse_lazy(named_url),q.urlencode()f reverse_lazy_with_query(named_url,**kwargs):
      "Reverse named URL with GET query (lazy version)"
      q = QueryDict('',mutable=True)
      q.update(kwargs)
      return '{}?{}'.format(reverse_lazy(named_url),q.urlencode())
docs: Reverse named URL with GET query (lazy version)