mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-30 00:47:08 -05:00
feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.
This commit is contained in:
@@ -15,6 +15,7 @@ Structure:
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from decouple import config
|
||||
|
||||
# =============================================================================
|
||||
@@ -85,10 +86,11 @@ THIRD_PARTY_APPS = [
|
||||
"django_fsm_log", # FSM transition logging
|
||||
"allauth",
|
||||
"allauth.account",
|
||||
"allauth.mfa", # MFA/TOTP support
|
||||
"allauth.socialaccount",
|
||||
"allauth.socialaccount.providers.google",
|
||||
"allauth.socialaccount.providers.discord",
|
||||
"django_turnstile", # Cloudflare Turnstile CAPTCHA
|
||||
"turnstile", # Cloudflare Turnstile CAPTCHA (django-turnstile package)
|
||||
"django_cleanup",
|
||||
"django_filters",
|
||||
"django_htmx",
|
||||
@@ -239,13 +241,9 @@ TEST_RUNNER = "django.test.runner.DiscoverRunner"
|
||||
# These imports add/override settings defined above.
|
||||
|
||||
# Database configuration (DATABASES, GDAL_LIBRARY_PATH, GEOS_LIBRARY_PATH)
|
||||
from config.settings.database import * # noqa: F401,F403,E402
|
||||
|
||||
# Cache configuration (CACHES, SESSION_*, CACHE_MIDDLEWARE_*)
|
||||
from config.settings.cache import * # noqa: F401,F403,E402
|
||||
|
||||
# Security configuration (SECURE_*, CSRF_*, SESSION_COOKIE_*, AUTH_PASSWORD_VALIDATORS)
|
||||
from config.settings.security import * # noqa: F401,F403,E402
|
||||
from config.settings.database import * # noqa: F401,F403,E402
|
||||
|
||||
# Email configuration (EMAIL_*, FORWARD_EMAIL_*)
|
||||
from config.settings.email import * # noqa: F401,F403,E402
|
||||
@@ -256,12 +254,15 @@ from config.settings.logging import * # noqa: F401,F403,E402
|
||||
# REST Framework configuration (REST_FRAMEWORK, CORS_*, SIMPLE_JWT, REST_AUTH, SPECTACULAR_SETTINGS)
|
||||
from config.settings.rest_framework import * # noqa: F401,F403,E402
|
||||
|
||||
# Third-party configuration (ACCOUNT_*, SOCIALACCOUNT_*, CLOUDFLARE_IMAGES, etc.)
|
||||
from config.settings.third_party import * # noqa: F401,F403,E402
|
||||
# Security configuration (SECURE_*, CSRF_*, SESSION_COOKIE_*, AUTH_PASSWORD_VALIDATORS)
|
||||
from config.settings.security import * # noqa: F401,F403,E402
|
||||
|
||||
# Storage configuration (STATIC_*, MEDIA_*, STORAGES, WHITENOISE_*, FILE_UPLOAD_*)
|
||||
from config.settings.storage import * # noqa: F401,F403,E402
|
||||
|
||||
# Third-party configuration (ACCOUNT_*, SOCIALACCOUNT_*, CLOUDFLARE_IMAGES, etc.)
|
||||
from config.settings.third_party import * # noqa: F401,F403,E402
|
||||
|
||||
# =============================================================================
|
||||
# Post-Import Overrides
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user