Missing line of code in example

0 views
Skip to first unread message

NWGGUY

unread,
Mar 21, 2009, 6:54:35 PM3/21/09
to tg.book
"4.3 Simple Form to Add Bookmark"
On Page 54, the example that includes:
def save_bookmark(self):

needs to have the line inserted after it:
from model import Bookmark

for the example to work correctly (otherwise "Bookmark not defined
error" is raised).
Reply all
Reply to author
Forward
0 new messages