This commit is contained in:
ferdzo
2024-10-14 16:18:41 +02:00
parent 4f9c7e8feb
commit 175f54e14e
8 changed files with 107 additions and 88 deletions

View File

@@ -5,7 +5,7 @@ from django.http import JsonResponse, HttpResponse
from django.shortcuts import render, redirect, get_object_or_404
from .forms import DeviceForm, SensorWithTypeForm
from .models import Device, Sensor
from iotDashboard.models import Device, Sensor
redis_client = redis.StrictRedis(host='10.10.0.1', port=6379, db=0)