Open bbelderbos opened 1 year ago
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
STATIC_HOST = config('DJANGO_STATIC_HOST', default='')
STATIC_URL = STATIC_HOST + '/static/'
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles')
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATICFILES_DIRS = (
os.path.join(PROJECT_ROOT, 'static'),
)
TODO: add whitenoise for static files when you deploy
then you can override .alert to center the text of the messages (
text-align: center;
)