727cfc9a14
No real output to terminal yet, but spotify api works. mostly.
12 lines
312 B
Python
12 lines
312 B
Python
from django.shortcuts import render
|
|
from django.views import View
|
|
from django.http import HttpResponse
|
|
from . import models
|
|
from . import spotify
|
|
|
|
class TrackView(View):
|
|
def get(self, request):
|
|
return HttpResponse("Hello world!")
|
|
def post(self, request):
|
|
return HttpResponse("Bye world")
|