feat: добавлены модели AboutPage и FooterSettings с админ-панелью и интеграцией скриптов

This commit is contained in:
2025-11-24 09:18:22 +09:00
parent ee3a1bf846
commit 3cea013a8e
9 changed files with 558 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
from .models import FooterSettings
def footer_settings(request):
"""Context processor для настроек футера"""
try:
footer = FooterSettings.objects.filter(is_active=True).first()
except:
footer = None
return {
'footer_settings': footer
}