dnmgmt/dncore/views.py

14 lines
342 B
Python
Raw Normal View History

2017-02-10 02:45:45 +01:00
from django.shortcuts import render
2017-02-14 22:26:16 +01:00
from django.contrib.auth.decorators import login_required
2017-02-10 02:45:45 +01:00
2017-02-14 22:26:16 +01:00
@login_required
def profile(request):
return render(request, "profile/profile.html", {})
@login_required
def dashboard(request):
2017-02-15 02:35:46 +01:00
return render(request, "dncore/dashboard.html", {})
2017-02-14 22:26:16 +01:00
def index(request):
return render(request, "index.html", {})