Although I don't see `i` being used anywhere, so I guess `for appliance in appliance_set.secondary` would be fine.