mirror of
https://github.com/tvastri-studio/iaso.git
synced 2025-04-17 18:20:17 -04:00
15 lines
334 B
Python
15 lines
334 B
Python
from django.shortcuts import render
|
|
from ..dashboard.views import dashboard
|
|
|
|
# Create your views here.
|
|
def index(request):
|
|
if request.user.is_authenticated:
|
|
return dashboard(request)
|
|
|
|
form = None
|
|
|
|
context = {
|
|
"form": form
|
|
}
|
|
|
|
return render(request, 'auth/login.html', context=context) |