17 lines
455 B
Python
17 lines
455 B
Python
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", {})
|
|
def login(request):
|
|
return render(request, "login.html", {})
|
|
|
|
def profesor(request):
|
|
return render(request, "profesor.html", {})
|
|
|
|
def profesor_id(request,id):
|
|
return render(request, "przedmiot.html", {'id': id}) |