.. note:: **The information on this page is obsolete, incomplete or incorrect and left here only for reference and has not been ported to the new documentation wiki.** Please refer to the `TurboGears documentation wiki`_ for up-to-date documentation. .. _turbogears documentation wiki: http://docs.turbogears.org/ There is also a new (more traditional) `TurboGears FAQ <http://docs.turbogears.org/FAQ>`_ document.
The goal of this page, is to consolidate all answers collected via the TG mailinglist, simple mails, ... or any findings you think relevant for other TG users.
Try to be as concise as possible and use, as much as possible, links (to mailing list, this wiki, ...).
Thanks
Table of Contents
1 TurboGears
1.1 Installation
1.1.1 Installing stable version
- How to install TurboGears from the nightly tarballs? see this mail
- Howto install on FreeBSD. See: wiki
- Howto install on Ubuntu. See: wiki
- Howto install on Debian. See: wiki
- Howto install on Gentoo. See: wiki
- Howto install on Mandriva. See: wiki
- Howto install on Windows. See: doc
1.1.2 Following SVN
- How to contribute to TurboGears development doc BROKEN - The command to use code from a local svn is "python setup.py develop --script-dir=/usr/local/bin"
1.1.3 Solving potential installation problems
- cElementTree 1.0.5 for Windows requires compiler link
1.2 TurboGears Tools
1.2.1 Quickstart
- Howto extend quickstart with PasteScript. See: wiki
1.2.2 CatWalk
- Howto use Catwalk. See: wiki
1.2.3 Model Designer
- Howto use Model Designer, see: link
1.2.4 Deployment
- Deploying your TG application with an Egg and Easy Install. See: wiki
- Deploy Turbogears as a windows service. See: wiki
- Deploying Turbogears 0.8 with mod_python. See: wiki
- Deploying Turbogears 0.9-prerelease (SVN) with mod_python. See: wiki
1.3 Identity
- Howto use Identity. See: wiki
- How to extend default identity model group
- Identity sample app. Download here (tgz)
- Why attaching permissions directly to the users is not that good link
1.4 Internationalization
- Internationalization. See: wiki, group
- Unicodifying tutorial link
- Declaring MySQL database to use 'utf-8' from SQLObject link
1.5 Widgets
1.5.1 Usage
- How to start using widgets - group
- Widgets browser group
- Widget status as of Feb-6 group
- Cleaned up widget API group
- Packaging widgets
1.5.2 Examples
- Using paging (e.g. showing only part of the records with next / previous links) link
- Howto make an AutoCompleteField
- Pass values into a form blog post
1.6 FastData
1.6.1 Usage
- When I display a ForeignKey in a FastData grid, I get something like "< Class ... >". How do I make this more readable? See: wiki
1.7 Other
- Howto use the feed controller. See: wiki
- Running Turbogears with Lighttpd. See: cleverdevil, wiki
2 TurboGears components
2.1 FormEncode
- Very good introduction to FormEncode features. See: groovie (pdf)
- Howto validate forms. See FormValidationWithWidgetsTwo
2.2 SQLObject
- Howto delete a record. See: wiki
- Howto manage SQLObject caching possibilities (disable it, interaction with transactions, ...). See: wiki
- Howto handle Foreign Key relationships. See: wiki
- Why do I get "syntax error" messages when I try to create my table? See: wiki
- How to use your model outside your TurboGears application (for example, in an initialization script). See: [wiki UsingModelsOutsideTurboGears wiki]
2.3 Kid
- Create a complex template structure with header, footer, left column and right column. See: group
- Create check boxes / Radio buttons with default value: Turbogears offer you two specific commands for that called checker and selector
- Howto add your own Template variable. See: doc
- Howto add your own Template function. See: group
- Dealing with undefined values in Kid. See: group
- Kid & HTML Entities. See: group wiki
- Extending templates and overriding values. See: group
- XML comments: See: Kid ticket
- Serving large XML files efficiently group
2.4 CherryPy
- Managing 404 errors: use _cpOnError filter. See: group
- Working with Sessions. See: CP doc
- Configuring database backend for sessions: link
- Caching techniques. See: wiki
- Serving static files (e.g. HTML files, images, CSS, Javascript etc.), see: doc
2.5 JSON
- Howto make a grid with JSON, details here
3 TurboGears Environment
- Turbogears vs Django.
- See: Why I chose Django over Turbogears, Why I chose TurboGears over Django, Django is Rails
- A Brief Django/TurboGears Comparison by Jeremy Jones and discussion group
- Python IDE - what are the programs / IDEs for editing python code that TurboGears group members use link