'disk_table',
'types_table',
'cdroms_table',
+ 'mirrors_table',
'autoinstalls_table',
'Machine',
'MachineAccess',
'Disk',
'Type',
'CDROM',
+ 'Mirror',
'Autoinstall',
'or_',
]
session.mapper(Disk, disk_table)
session.mapper(Type, types_table)
session.mapper(Mirror, mirrors_table)
-session.mapper(CDROM, cdroms_table)
+session.mapper(CDROM, cdroms_table,
+ properties={'mirror': relation(Mirror, backref="cdroms")})
session.mapper(Autoinstall, autoinstalls_table)
def clear_cache():