custom static full path #130

shuge opened this Issue Jan 2, 2012 · 2 comments

2 participants


As title, please implement this feature.


In TornadoWeb, user could custom the static path

In, the static path seems is hard-coded to

os.path.join(os.path.dirname(, "static"),

User case:

/path/to/site-packages/some_module_write_in_webpy/static   <--  oops, I don't like to create or link static path here.

in some script:

import conf
import some_module_write_in_webpy

conf.static_path =  "/data/static"

some_module_write_in_webpy.conf = conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment