pvl/web/urls.py
author Tero Marttila <terom@paivola.fi>
Sun, 07 Sep 2014 16:04:42 +0300
changeset 431 4e920e09fc60
parent 156 999ae3e9fdec
permissions -rw-r--r--
version 0.7.3

* pvl.rrd-interfaces: ignore .txt on input files
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)