Initial game logic #198

Merged
jvs merged 6 commits from initial-game-logic into master 2025-04-07 14:00:05 +00:00
Showing only changes of commit f264d10cb8 - Show all commits
+5 -2
View File
@@ -142,8 +142,11 @@ STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / "staticfiles"
STATICFILES_DIRS = [BASE_DIR / 'static']
# Exclude development CSS files from collectstatic
STATICFILES_IGNORE_PATTERNS = ['t-input.css']
# WhiteNoise configuration
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
WHITENOISE_SKIP_COMPRESS_EXTENSIONS = ['css', 'js']
# Return 404 instead of 500 for missing files
WHITENOISE_MISSING_FILE_ERRNO = None
# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field