Skip to content

Instantly share code, notes, and snippets.

@larsks
Created May 27, 2009 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/118404 to your computer and use it in GitHub Desktop.
Save larsks/118404 to your computer and use it in GitHub Desktop.
class Webapp:
_cp_config = {
'/static': {
'tools.staticdir.dir': os.path.join(os.path.dirname(__file__),'/static'),
'tools.staticdir.on': True
}
}
def index(self):
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment