Corp/backend/finance/views.py

16 lines
453 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""Views for finance app."""
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
@login_required
def finance_dashboard(request):
"""
Отображает финансовую панель с встроенным Яндекс.Диском.
"""
context = {
"yandex_disk_url": "https://disk.yandex.ru/i/0JWL-v5zyWJi0Q"
}
return render(request, "finance/dashboard.html", context)