mirror of
https://github.com/leaders-of-digital-9-task/backend.git
synced 2024-11-22 09:26:35 +03:00
9 lines
225 B
Python
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,
|
|
}
|