Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2441 (closed defect: migrated)

Opened 9 years ago

Last modified 8 years ago

Doc error in ToscaSample tutorial

Reported by: werner Owned by:
Priority: normal Milestone: 2.1 docs
Component: Documentation Version: 2.0.3
Severity: normal Keywords:
Cc:

Description

To get genre_options from a database table following code is shown on this page:

 http://www.turbogears.org/2.0/docs/main/ToscaWidgets/forms.html

return dict(modelname='Movie',

genre_options=DBSession.query(MovieGenera?.id, MovieGenera?.title), page='ToscaSample? New Movie')

But it should be:

return dict(modelname='Movie',

genre_options=DBSession.query(model.MovieGenera?.id, model.MovieGenera?.title), page='ToscaSample? New Movie')

Change History

comment:1 Changed 9 years ago by percious

  • Milestone changed from __unclassified__ to 2.1 docs

comment:2 Changed 8 years ago by pedersen

  • Status changed from new to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.