27 lines
665 B
Python
27 lines
665 B
Python
from django.shortcuts import render, redirect
|
|
from django.template import loader
|
|
|
|
|
|
def index(request):
|
|
# context = {
|
|
# 'latest_question_list': latest_question_list,
|
|
# }
|
|
return render(request, 'index.html')
|
|
|
|
def login(request):
|
|
# context = {
|
|
# 'latest_question_list': latest_question_list,
|
|
# }
|
|
return render(request, 'login.html')
|
|
|
|
def logout(request):
|
|
# context = {
|
|
# 'latest_question_list': latest_question_list,
|
|
# }
|
|
return render(request, 'logout.html')
|
|
|
|
def register(request):
|
|
# context = {
|
|
# 'latest_question_list': latest_question_list,
|
|
# }
|
|
return render(request, 'register.html') |