#1139: [PATCH] SQLObject bug in handling of non default foreign keys
-------------------------------+--------------------------------------------
Reporter: trlandet | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: SQLObject | Version: 1.0b1
Severity: normal | Resolution:
Keywords: regression, patch |
-------------------------------+--------------------------------------------
Changes (by trlandet):
* milestone: 1.0b2 => 1.0
Comment:
Sorry, a bit quick there... it should of course be something like this
{{{
if col._default == sqlbuilder.NoDefault and col.name not in kw and
(col.foreignName is None or col.foreignName not in kw):
}}}
Not all required keys are foreign keys
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1139>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---