Reverse named URL with GET query (lazy version)

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())