Here are the examples of the python api django.conf.settings.ACCOUNT_ALLOW_REGISTRATION taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
Source : context_processors.py
with BSD 3-Clause "New" or "Revised" License
from Jean-Zombie
with BSD 3-Clause "New" or "Revised" License
from Jean-Zombie
def allauth_settings(request):
"""Expose some settings from django-allauth in templates."""
return {
"ACCOUNT_ALLOW_REGISTRATION": settings.ACCOUNT_ALLOW_REGISTRATION,
}