22 lines
554 B
Python
22 lines
554 B
Python
from .base import *
|
|
|
|
DEBUG = True
|
|
|
|
ALLOWED_HOSTS = ["*"]
|
|
|
|
INSTALLED_APPS += ["debug_toolbar"]
|
|
|
|
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware"] + MIDDLEWARE
|
|
|
|
INTERNAL_IPS = ["127.0.0.1"]
|
|
|
|
CORS_ALLOW_ALL_ORIGINS = True
|
|
|
|
# Use local filesystem in development to avoid needing real Wasabi credentials
|
|
DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"
|
|
MEDIA_URL = "/media/"
|
|
MEDIA_ROOT = BASE_DIR / "media"
|
|
|
|
# Log Celery tasks to console
|
|
CELERY_TASK_ALWAYS_EAGER = False # set True to run tasks synchronously for debugging
|