def details(request): #Find stats in between dates also #data = DevicesData.objects.filter(devices__user=request.user) #devices = data.values_list('devices', flat='true').distinct() result = embedded_utils.details(request, DEVICE_CATEGORY, APP_TYPE) return render_to_response('switch_sensor.html', {'title': "embedded", 'result': result })
def details(request): result = embedded_utils.details(request, DEVICE_CATEGORY, APP_TYPE) return render_to_response('temperature_sensor.html', {'title': "embedded", 'result': result })