Sounds good -- comment away! I guess you can already do this part of it though, to shorten a bit:
`cur_device = UnregisteredDevice.objects.get_or_create(id=id)`