Greetings,

model.py:

class DocType ( SQLObject ):
   ...

class DocColumn ( SQLObject ):
   docType = ForeignKey ( 'DocType' )
   ...

class Pdf ( SQLObject ):
   pdf     = ForeignKey ( 'Pdf' )
   docType = ForeignKey ( 'DocType' )
   ...


Unfortunately 'tg-admin sql create' tries to create DocColumn first which of course fails because DocType doesn't yet exist.
Anyone else seeing this?

Cliff


Reply via email to