mirror of
https://github.com/UofCBaja/BajaCloud.git
synced 2025-07-06 19:17:13 -06:00
feat(django): failure django is not faster than base python, but is WAAAAAYYY EASIER to code in endpoints, and can work with nginx
This commit is contained in:
Binary file not shown.
BIN
djangotutorial/polls/__pycache__/getAppointments.cpython-312.pyc
Normal file
BIN
djangotutorial/polls/__pycache__/getAppointments.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
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))
|
@ -1,9 +1,12 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
from . import newtest
|
||||
# , newtest, getAppointments, selectAppointment
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
path("test", newtest.index, name="index")
|
||||
# path("test", newtest.index, name="index"),
|
||||
# path("getSchedule", getAppointments.index, name="index"),
|
||||
# path("postSelectAppointment", selectAppointment.index, name="index"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user