django-musician/musician/views.py

10 lines
316 B
Python
Raw Normal View History

2019-10-25 11:33:37 +00:00
from django.contrib.auth.mixins import LoginRequiredMixin
2019-10-10 07:18:34 +00:00
from django.shortcuts import render
2019-10-25 11:33:37 +00:00
from django.views.generic.base import TemplateView
2019-10-10 07:18:34 +00:00
2019-10-25 11:33:37 +00:00
from .mixins import CustomContextMixin
class DashboardView(CustomContextMixin, TemplateView): ## TODO LoginRequiredMixin
template_name = "musician/dashboard.html"