Changeset 123
- Timestamp:
- 06/13/07 09:52:03 (6 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/elixir/ext/associable.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/ext/associable.py
r121 r123 201 201 getattr(self, attr_name).targets = [value] 202 202 setattr(entity, self.name, property(get, set)) 203 203 204 204 sa.mapper(GenericAssoc, association_table, properties={ 205 'targets':sa.relation(entity, secondary=association_to_table, 206 lazy=False, backref='association') 205 'targets': sa.relation(entity, secondary=association_to_table, 206 lazy=False, backref='association', 207 order_by=entity.mapper.order_by) 207 208 }) 208 209 return Statement(Associable)
