backend/image_markuper/users/context_processors.py
Alexander-D-Karpov 8d9d0697da inited django
2022-10-25 23:29:13 +03:00

9 lines
225 B
Python

from django.conf import settings
def allauth_settings(request):
"""Expose some settings from django-allauth in templates."""
return {
"ACCOUNT_ALLOW_REGISTRATION": settings.ACCOUNT_ALLOW_REGISTRATION,
}