Files
Sensores/principal/views.py
2025-04-17 00:35:33 -06:00

9 lines
225 B
Python

from django.shortcuts import render
from fijos.models import AltaSensoresFijos
# Create your views here.
def inicio(request):
menus = AltaSensoresFijos.objects.all()
return render(request, 'index.html', {"menus": menus})