Rename misleading relation from users to acl.
authorEric Price <ecprice@mit.edu>
Thu, 24 Jan 2008 22:09:38 +0000 (17:09 -0500)
committerEric Price <ecprice@mit.edu>
Thu, 24 Jan 2008 22:09:38 +0000 (17:09 -0500)
svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=256

sipb_xen_database/models.py

index d07950a..e34051b 100644 (file)
@@ -90,7 +90,7 @@ assign_mapper(ctx, Machine, machine_table,
               properties={'nics': relation(NIC, backref="machine"),
                           'disks': relation(Disk, backref="machine"),
                           'type': relation(Type),
-                          'users': relation(MachineAccess, backref="machine")});
+                          'acl': relation(MachineAccess, backref="machine")});
 assign_mapper(ctx, MachineAccess, machine_access_table)
 assign_mapper(ctx, NIC, nic_table)
 assign_mapper(ctx, Disk, disk_table)