Generateurv2/backend/env/lib/python3.10/site-packages/allauth/app_settings.py
2022-06-24 17:14:37 +02:00

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")