#2167: Catwalk did not recognise constrain on multiple columns
----------------------+-----------------------------------------------------
Reporter: miniwark | Owner: percious
Type: defect | Status: new
Priority: normal | Milestone: 2.0b5
Component: Catwalk2 | Version:
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I am using Catwalk 2.0r_219
with this SQLalchemy 0.5.1 declarative model :
{{{
class Rock(DeclarativeBase):
__tablename__ = "rock"
rock_id = Column(Integer, autoincrement=True, primary_key=True)
zone = Column(Integer, nullable=False)
groupe = Column(Integer, nullable=False)
rock = Column(Unicode(16), nullable=False)
__table_args__ = (UniqueConstraint("zone", "groupe", "rock"), {})
}}}
Catwalk work perfectly when i whant to add an entry witch did breack the
constrain, but if y try to add an entry who break it i have the following
error :
{{{
AttributeError: 'CatwalkModelController' object has no attribute
'start_response'
}}}
By the way, catwalk play well with constrains on a culumn, he seem to did
not accept contrains on multiple columns.
--
Ticket URL: <http://trac.turbogears.org/ticket/2167>
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.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---