mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
12 lines
254 B
Python
12 lines
254 B
Python
"""Admin views."""
|
|
|
|
from django.views import generic
|
|
|
|
from django.contrib.auth import mixins as auth_mixins
|
|
|
|
|
|
class AdminIndexView(auth_mixins.LoginRequiredMixin, generic.TemplateView):
|
|
"""Admin index view."""
|
|
|
|
template_name = "admin/index.html"
|