I've defined a new Column type called File, which should let me store only the file name in the database. Then I would store the actual file in the file system at root+subfolder+name.
File(root, subfolder="", max_length=100, **kwargs)
The problem I'm having is that I'd like to define the root in a PasteDeploy config file. How do I define this at runtime so I can access the configuration?