9 lines
189 B
Python
9 lines
189 B
Python
from django.shortcuts import render
|
|
|
|
|
|
def home(request):
|
|
if request.user.is_authenticated:
|
|
return render(request, "base.html", {})
|
|
|
|
return render(request, "login.html", {})
|