Created
October 24, 2019 04:24
-
-
Save leah/50c1e1604fc9df6770ef2b75c7abc6a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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