github dibug

This commit is contained in:
Flatlogic Bot 2026-02-14 12:37:03 +00:00
parent 79550235ff
commit c9235c6961
3 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,10 @@
libgobject-2.0-0
libpango-1.0-0
libpangocairo-1.0-0
libcairo2
libharfbuzz0b
libfontconfig1
libpangoft2-1.0-0
libgdk-pixbuf2.0-0
libffi-dev
shared-mime-info

View File

@ -1 +1,2 @@
web: gunicorn config.wsgi --log-file -
release: python manage.py migrate
web: gunicorn config.wsgi --log-file -

View File

@ -14,7 +14,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'django-insecure-change-me-locally')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG', 'True') == 'True'
DEBUG = os.environ.get('DEVELOPMENT', 'False') == 'True'
ALLOWED_HOSTS = ['*']
@ -149,6 +149,9 @@ STATICFILES_DIRS = [
# Whitenoise storage for compressed and cached static files
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},