Esempio n. 1
0
    def __init__(self, conf):
        mount_point = conf['webassets.base_url']
        PrefixHandlerMiddleware.__init__(self, mount_point)

        self.base_dir = conf['webassets.base_dir']
Esempio n. 2
0
 def __init__(self, mount_point = '/files'):
     PrefixHandlerMiddleware.__init__(self, mount_point)
Esempio n. 3
0
 def __init__(self, conf, mount_point="/static"):
     PrefixHandlerMiddleware.__init__(self, mount_point)
     self.conf = conf