Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.shortcuts import render
- from engine.functions import tempF,lcdF
- def index(request):
- if 'temp' in request.POST:
- lcdF.printTemp(0,2)
- elif 'time' in request.POST:
- lcdF.printTime()
- return render(request, 'system/index.html')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement