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())
def reverse_lazy_with_query ( named_url , ** kwargs ) : q = QueryDict ( '' , mutable = True ) q . update ( kwargs ) return '{}?{}' . format ( reverse_lazy ( named_url ) , q . urlencode ( ) )
Reverse named URL with GET query (lazy version)