traffic_log/templatetags/traffic_log_extras.py
def url_to_finish_spot(parser, token):
    """gets the URL to finish this spot at the given constraint."""
    args = token.split_contents()
    if len(args) != 3:
        raise TemplateSyntaxError(
            "url_to_finish_spot requires a spot_constraint and spot as argument")
    node = URLToFinishNode(args[1:])
    return node
gets the URL to finish this spot at the given constraint.
gets the URL to finish this spot at the given constraint.
gets the URL to finish this spot at the given constraint .
def url_to_finish_spot(parser, token):
    args = token.split_contents()
    if len(args) != 3:
        raise TemplateSyntaxError(
            "url_to_finish_spot requires a spot_constraint and spot as argument")
    node = URLToFinishNode(args[1:])
    return node
def url_to_finish_spot ( parser , token ) : args = token . split_contents ( ) if len ( args ) != 3 : raise TemplateSyntaxError ( "url_to_finish_spot requires a spot_constraint and spot as argument" ) node = URLToFinishNode ( args [ 1 : ] ) return node
gets the URL to finish this spot at the given constraint.
gets the URL to finish this spot at the given constraint .
"""gets the URL to finish this spot at the given constraint."""
parser
token