#757: Comment on docs/TurboTunes/index.html
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Docs | Version: 0.9a4
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
tg-admin sql create failed for me when I followed the TurboTunes tutorial.
It tried to create a table with a constraint referencing one of the other
tables, which didn't exist yet.
I'm using PostgreSQL and SQLObject-0.7.1dev_r1675-py2.4.egg
I eventually figured out a workaround. In model.py:
soClasses = ('Artist', 'Genre', 'Album', 'Song')
This kind of interrupted the flow of the tutorial, so should be mentioned,
even if SQLObject should have figured it out.
Also, the model.py file provided contains more than the sum of its
snippets displayed on the page (the foo.createTable(ifNotExists=True)
lines at the bottom), which is slightly confusing.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/757>
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.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---