Hi Jorge,
Sorry for the delay only saw you reply now -tut, tut:
class Director(DeclarativeBase):
__tablename__ = "directors"
movie_id = Column(Integer, primary_key=True)
title = Column(String(100), nullable=False)
movies = relation(Movie, secondary_join=movie_directors_table,
backref="directors")
In the above Director class definition, the movie_id should be director_id.
Cheers, Andrew.
2009/2/28 Jorge Vargas <[email protected]>:
>
> On Fri, Feb 27, 2009 at 2:21 AM, Andrew Basson <[email protected]>
> wrote:
>>
>> Hi,
>>
>> In the Director class here :
>> http://www.turbogears.org/2.0/docs/main/RestControllers.html the
>> movie_id attribute should be director_id
>>
>> Cheers, Andrew.
>>
> Hey Andrew, I'm doing a rundown on the docs but I couldn't find which
> one you are referring to can I get a patch or a line number?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---