On Mar 30, 2009, at 9:58 AM, Marcin Krol wrote:
>
> Michael Bayer wrote:
>>> I need to do smth like this in a mapper() call for table 'hosts':
>>>
>>> 'Earliest_reservation':relation(Reservation,
>>> order_by=Reservation.id,
>>> backref='hosts'),
>>> 'Reservations':relation(Reservation,
>>> se
Michael Bayer wrote:
>> I need to do smth like this in a mapper() call for table 'hosts':
>>
>> 'Earliest_reservation':relation(Reservation, order_by=Reservation.id,
>> backref='hosts'),
>> 'Reservations':relation(Reservation,
>> secondary=reservation_hosts_assoc_table, backref='hosts')
>>
>> That
On Mar 30, 2009, at 4:14 AM, Marcin Krol wrote:
>
> Hello everyone,
>
> Anybody?
>
> I need to do smth like this in a mapper() call for table 'hosts':
>
> 'Earliest_reservation':relation(Reservation, order_by=Reservation.id,
> backref='hosts'),
> 'Reservations':relation(Reservation,
> secondary=