def url ( viewname , * args , * * kwargs ) : return reverse ( viewname , args = args , kwargs = kwargs )
python django function redirect
Helper for Django s reverse in templates .
def url(viewname, *args, **kwargs):
    """Helper for Django's ``reverse`` in templates."""
    return reverse(viewname, args=args, kwargs=kwargs)