Welcome to TurboGears

Learn more

Learn more about TurboGears and take part in its development now

Getting Started

  1. Model

    Design models in the model.py.
    Edit dev.cfg to use a different backend, or start with a pre-configured SQLite database.
    Use script tg-admin sql create to create the database tables.

  2. View

    Edit html-like templates in the /templates folder;
    Put all static contents in the /static folder.

  3. Controller

    Edit controllers.py and build your website structure with the simplicity of Python objects.
    TurboGears will automatically reload itself when you modify your project.