mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 03:07:16 -06:00
feat(django): testing using backend django vs built in python
This commit is contained in:
11
djangotutorial/polls/newtest.py
Normal file
11
djangotutorial/polls/newtest.py
Normal file
@ -0,0 +1,11 @@
|
||||
import json
|
||||
from django.http import HttpResponse
|
||||
|
||||
def index(request):
|
||||
ymlschedule = {"message": False}
|
||||
res = {
|
||||
"statusCode": 200,
|
||||
"isBase64ENcoded": "false",
|
||||
"body": json.dumps(ymlschedule)
|
||||
}
|
||||
return HttpResponse(json.dumps(res))
|
Reference in New Issue
Block a user