This commit is contained in:
Iliyan Angelov
2025-11-26 22:32:20 +02:00
commit ed94dd22dd
150 changed files with 14058 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
"""
Development settings for fraud_platform project.
"""
from .base import *
import os
DEBUG = True
ALLOWED_HOSTS = ['localhost', '127.0.0.1']
# Use SQLite for development if PostgreSQL is not available
if os.environ.get('USE_SQLITE', 'True').lower() == 'true':
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
# Development-specific settings (django_extensions is optional)
# INSTALLED_APPS += [
# 'django_extensions', # Optional: for development tools
# ]
# Use SiteSettings email backend (will use console if SMTP not configured)
# EMAIL_BACKEND is set in base.py to use SiteSettingsEmailBackend
# This allows admin to configure SMTP even in development
# Disable security features for development
SECURE_SSL_REDIRECT = False
SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False