BestNotes/bestnotes/views.py

17 lines
400 B
Python
Raw Normal View History

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