(qs, **kwargs)
return qs.filter(**kwargs)
template tag which allows queryset filtering. Usage:
          {% query books author=author as mybooks %}
          {% for book in mybooks %}
            ...
          {% endfor %}
template tag which allows queryset filtering. Usage:
          {% query books author=author as mybooks %}
          {% for book in mybooks %}
            ...
          {% endfor %}
template tag which allows queryset filtering . Usage : { % query books author = author as mybooks % } { % for book in mybooks % } ... { % endfor % }
def query(qs, **kwargs):
    """ template tag which allows queryset filtering. Usage:
          {% query books author=author as mybooks %}
          {% for book in mybooks %}
            ...
          {% endfor %}
    """
    return qs.filter(**kwargs)
def query ( qs , * * kwargs ) : return qs . filter ( * * kwargs )