Skip to content

Instantly share code, notes, and snippets.

@leah
Created October 24, 2019 04:24
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 leah/50c1e1604fc9df6770ef2b75c7abc6a9 to your computer and use it in GitHub Desktop.
Save leah/50c1e1604fc9df6770ef2b75c7abc6a9 to your computer and use it in GitHub Desktop.
from django.http import HttpResponse
from .send import send_text, check_changes
def index(request):
changed, message = check_changes()
send_text(message=message)
return HttpResponse(message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment