pvl/web/urls.py
author Tero Marttila <terom@paivola.fi>
Mon, 16 Dec 2013 10:21:37 +0200
changeset 256 63b285ceae41
parent 156 999ae3e9fdec
permissions -rw-r--r--
pvl.dhcp.config: nested blocks
from werkzeug.routing import Map, Rule

# url_join
from os.path import join 

def rule (string, endpoint, **opts) :
    return Rule(string, endpoint=endpoint, defaults=opts)