from django.shortcuts import render
from rest_framework import viewsets
from .serializers import *
from .models import *

# Create your views here.
def home(request):
	return render(request, 'index.html')


class ActuatorApi(viewsets.ModelViewSet):
	queryset = Actuator.objects.all()
	serializer_class = ActuatorSerializer

class LowerSensorApi(viewsets.ModelViewSet):
	queryset = LowerSensor.objects.all()
	serializer_class = LowerSensorSerializer
a814cee43934a019826aed455544d9831b02d282
<mask token>


class LowerSensorApi(viewsets.ModelViewSet):
    queryset = LowerSensor.objects.all()
    serializer_class = LowerSensorSerializer

<mask token>


class ActuatorApi(viewsets.ModelViewSet):
    queryset = Actuator.objects.all()
    serializer_class = ActuatorSerializer


class LowerSensorApi(viewsets.ModelViewSet):
    queryset = LowerSensor.objects.all()
    serializer_class = LowerSensorSerializer

<mask token>


def home(request):
    return render(request, 'index.html')


class ActuatorApi(viewsets.ModelViewSet):
    queryset = Actuator.objects.all()
    serializer_class = ActuatorSerializer


class LowerSensorApi(viewsets.ModelViewSet):
    queryset = LowerSensor.objects.all()
    serializer_class = LowerSensorSerializer

from django.shortcuts import render
from rest_framework import viewsets
from .serializers import *
from .models import *


def home(request):
    return render(request, 'index.html')


class ActuatorApi(viewsets.ModelViewSet):
    queryset = Actuator.objects.all()
    serializer_class = ActuatorSerializer


class LowerSensorApi(viewsets.ModelViewSet):
    queryset = LowerSensor.objects.all()
    serializer_class = LowerSensorSerializer

from django.shortcuts import render
from rest_framework import viewsets
from .serializers import *
from .models import *

# Create your views here.
def home(request):
	return render(request, 'index.html')


class ActuatorApi(viewsets.ModelViewSet):
	queryset = Actuator.objects.all()
	serializer_class = ActuatorSerializer

class LowerSensorApi(viewsets.ModelViewSet):
	queryset = LowerSensor.objects.all()
	serializer_class = LowerSensorSerializer