Irish schrieb: > I haven't created any tests, as I wasn't quite sure how best to go > about it. Just create SQLObject data and assert that it's there? I > don't think the problem is with Catwalk, I think it's something that > I'm doing wrong (I've run into several problems where I was stumped, > only to find that I needed to put in a default value). I'm just stuck > on what to look for. Because I haven't told tg about any > building_floor-table, where is it coming from? If it's being created > automatically, wouldn't it then be populated automatically? > > I've dropped and re-created the SQL, and everything shows up fine in > catwalk until I start putting values in. That's when it gets screwy > and doesn't show up any more, giving the <whateverI'mLinking)ID > traceback error.
The table is created because of a relation you introduced. Can you post your sql, and your full model file? You can get the former using tg-admin sql sql Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

