def do_fake_registration():
 zone = Zone(name='The Danger Zone', description='Welcome to it.')
 zone.save()
 device = Device.get_own_device()
 device_zone = DeviceZone(device=device, zone=zone)
 device_zone.save()

def do_fake_registration ( ) : zone = Zone ( name = 'The Danger Zone' , description = 'Welcome to it.' ) zone . save ( ) device = Device . get_own_device ( ) device_zone = DeviceZone ( device = device , zone = zone ) device_zone . save ( )
register the device .