``device = DailyDevice.objects.get(pricing_device=id)``