feat: admin panel enrichment

This commit is contained in:
mohamad
2026-07-19 14:31:28 +03:30
parent d8d7819eca
commit 1042fba121
77 changed files with 4616 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
from django.conf import settings
from .social import enabled_social_providers
def social_auth(request):
providers = enabled_social_providers()
return {
"social_providers": providers,
"social_auth_enabled": bool(providers),
"site_domain": settings.SITE_DOMAIN,
}