10 lines
307 B
Python
10 lines
307 B
Python
from django.conf import settings
|
|
|
|
|
|
SITES_ENABLED = "django.contrib.sites" in settings.INSTALLED_APPS
|
|
SOCIALACCOUNT_ENABLED = "allauth.socialaccount" in settings.INSTALLED_APPS
|
|
|
|
LOGIN_REDIRECT_URL = getattr(settings, "LOGIN_REDIRECT_URL", "/")
|
|
|
|
USER_MODEL = getattr(settings, "AUTH_USER_MODEL", "auth.User")
|