That seems to do it Patrick... thanks! Can you think of any reason why (presumably) nobody else has had this issue?
In other words, do you think this is a tg/Identity bug, or am I doing something wrong elsewhere? Thanks again. Patrick Lewis wrote: > Ah, that makes a bit more sense. If you don't mind patching your > Turbogears framework, try adding the following to turbogears / visit / > savisit.py file: > > def new_visit_with_key(self, visit_key): > visit = visit_class(visit_key=visit_key, > expiry=datetime.now()+self.timeout) > session.save(visit) > #next line is new > session.flush([visit]) > # end new > return Visit(visit_key, True) > > I'm not sure why sqlalchemy isn't seeing the foreign key dependency, > but the above should hopefully fix your problem in the short-term. > > Logging output should show up in the same window you do 'python > start-mytgapp.py' (in development mode), unless you have changed things. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

