Table Of Contents

Add some Static Files (CSS and/or JavaScript)

Application Configuation

When TurboGears generated your project directory, it made a path for static files such as stylesheets, scripts, and images. It could be set under tutorial/config/app.cfg

The JavaScript file we added is available to your TurboGears project by default at the special path /tg_js/. If you have additional scripts, put them in tutorial/static/javascript/.

In tutorial/config/app.cfg you could store the application-specific settings. For example, you could setup the default template engine and the encoding here.