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 #757 (closed defect: duplicate)

Opened 13 years ago

Last modified 12 years ago

Comment on docs/TurboTunes/index.html

Reported by: hawk@… Owned by: anonymous
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

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.

Change History

comment:1 Changed 13 years ago by jorge.vargas

your right.

it's because SQLObject has some internal default alphabetic ordering

anyone else having this problem?

comment:2 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Version 0.9a4 deleted
  • Resolution set to duplicate

#481 is the same as this.

Note: See TracTickets for help on using tickets.