Which version of TurboGears are you using? 0.8.7 includes the latest
fixes in SQLObject 0.7. I don't know if this is one of them, but it's
worth checking.

Kevin

On 1/8/06, ssteiner <[EMAIL PROTECTED]> wrote:
>
> I created a database with tg-admin sql create for the following:
>
> class StateSequence(SQLObject):
>     # stuff...
>     states = MultipleJoin('OrderedState')
>
> class OrderedState(SQLObject):
>     # stuff...
>     statesequence = ForeignKey('StateSequence')
>
> The problem is that, for the ForeignKey, tg-admin's sql create created
> the field statesequence_id in the orderedstate table but SQLObject
> expects it to be state_sequence_id.
>
> I'm not sure where in which product this mismatch occurrs...  I'm using
> mySQL.
>
> Steve
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to