Changeset 1714 for trunk/packages/invirt-database/python
- Timestamp:
- Nov 17, 2008, 9:58:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/python/database/models.py
r1708 r1714 121 121 122 122 session.mapper(Machine, machine_table, 123 properties={'nics': relation(NIC, backref="machine" , lazy=False),124 'disks': relation(Disk, backref="machine" , lazy=False),125 'type': relation(Type , lazy=False),126 'acl': relation(MachineAccess, backref="machine", lazy=False,passive_deletes=True, cascade="all, delete-orphan")});123 properties={'nics': relation(NIC, backref="machine"), 124 'disks': relation(Disk, backref="machine"), 125 'type': relation(Type), 126 'acl': relation(MachineAccess, backref="machine", passive_deletes=True, cascade="all, delete-orphan")}); 127 127 session.mapper(MachineAccess, machine_access_table) 128 128 session.mapper(NIC, nic_table)
Note: See TracChangeset
for help on using the changeset viewer.