BestNotes/bestnotes/views.py

16 lines
387 B
Python
Raw Normal View History

from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def homepage(request):
#return HttpResponse("BestNotes' index will be here.")
return render(request, "homepage.html", {})
2019-11-28 11:26:30 +01:00
def subject(request):
return render(request, "subjects.html", {})
def subject_id(request,id):
return render(request, "subject.html", {'id': id})