2021-12-08 19:28:56 +01:00
|
|
|
from django.shortcuts import render, redirect
|
|
|
|
from django.template import loader
|
2021-12-20 19:40:24 +01:00
|
|
|
from django.contrib.auth.decorators import login_required
|
2021-12-08 19:28:56 +01:00
|
|
|
|
|
|
|
|
2021-12-20 19:40:24 +01:00
|
|
|
@login_required
|
|
|
|
def home(request):
|
2021-12-08 19:28:56 +01:00
|
|
|
# context = {
|
|
|
|
# 'latest_question_list': latest_question_list,
|
|
|
|
# }
|
2021-12-20 19:40:24 +01:00
|
|
|
return render(request, 'home.html')
|
|
|
|
|
|
|
|
|
|
|
|
def welcome(request):
|
|
|
|
return render(request, 'welcome.html')
|