#2441: Doc error in ToscaSample tutorial
---------------------------+------------------------------------------------
Reporter: werner | Owner:
Type: defect | Status: new
Priority: normal | Milestone: __unclassified__
Component: Documentation | Version: 2.0.3
Severity: normal | Keywords:
---------------------------+------------------------------------------------
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')
--
Ticket URL: <http://trac.turbogears.org/ticket/2441>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en