deev.space/main/context_processors.py
2025-12-03 04:39:24 +03:00

8 lines
No EOL
221 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.

from .models import SiteSettings
def site_settings(request):
"""Глобальный контекст с настройками сайта."""
return {
'global_settings': SiteSettings.load()
}