|
|
|
@ -1,6 +1,7 @@ |
|
|
|
from django.shortcuts import render |
|
|
|
from django.shortcuts import render |
|
|
|
from django.http import HttpResponse, JsonResponse |
|
|
|
from django.http import HttpResponse, JsonResponse |
|
|
|
import json |
|
|
|
import json |
|
|
|
|
|
|
|
from django.views.decorators.csrf import csrf_exempt |
|
|
|
|
|
|
|
|
|
|
|
def index(request): |
|
|
|
def index(request): |
|
|
|
return HttpResponse("Hello, world. You're at the subs index.") |
|
|
|
return HttpResponse("Hello, world. You're at the subs index.") |
|
|
|
|