AiForklift/magazine/views.py
Jacob 0281d19f10 Adds UI, magazine visualisation and forklift
This commit adds the prototype of user interface, canvas on which magazine is drawn and forklift class.
2019-03-26 12:52:23 +01:00

17 lines
307 B
Python

from django.shortcuts import render
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt
import json
# Create your views here.
def index(request):
return HttpResponse('It lives!')
@csrf_exempt
def classify(request):
return HttpResponse(json.load(request))