dnmgmt/dncore/views.py

14 lines
342 B
Python

from django.shortcuts import render
from django.contrib.auth.decorators import login_required
@login_required
def profile(request):
return render(request, "profile/profile.html", {})
@login_required
def dashboard(request):
return render(request, "dncore/dashboard.html", {})
def index(request):
return render(request, "index.html", {})