Skip to content

Instantly share code, notes, and snippets.

@johngrantuk
Created March 29, 2016 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johngrantuk/eca59a04486d6081dbbc266813c74df6 to your computer and use it in GitHub Desktop.
Save johngrantuk/eca59a04486d6081dbbc266813c74df6 to your computer and use it in GitHub Desktop.
Django Channels view
from django.shortcuts import render
def sensor(request):
return render(request, "sensor.html", {
'sensor': '99',
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment