Changeset 555 for trunk/packages
- Timestamp:
- Jun 2, 2008, 1:49:32 AM (17 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/debian/changelog
r490 r555 1 sipb-xen-database (10.8) unstable; urgency=low 2 3 * Eager loading of relations for better performance. 4 5 -- Eric Price <ecprice@pseudomyrmex.mit.edu> Mon, 02 Jun 2008 01:39:11 -0400 6 1 7 sipb-xen-database (10.8) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-database/sipb_xen_database/models.py
r443 r555 101 101 102 102 assign_mapper(ctx, Machine, machine_table, 103 properties={'nics': relation(NIC, backref="machine" ),104 'disks': relation(Disk, backref="machine" ),105 'type': relation(Type ),106 'acl': relation(MachineAccess, backref="machine" )});103 properties={'nics': relation(NIC, backref="machine", lazy=False), 104 'disks': relation(Disk, backref="machine", lazy=False), 105 'type': relation(Type, lazy=False), 106 'acl': relation(MachineAccess, backref="machine", lazy=False)}); 107 107 assign_mapper(ctx, MachineAccess, machine_access_table) 108 108 assign_mapper(ctx, NIC, nic_table)
Note: See TracChangeset
for help on using the changeset viewer.