2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00

Manifeststorage as suggested in #1485

This commit is contained in:
Matthias 2021-04-20 18:36:51 +02:00
parent 99dc02e2cb
commit a88d9c7986

View File

@ -189,6 +189,7 @@ STATIC_ROOT = os.path.abspath(
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'InvenTree', 'static'), os.path.join(BASE_DIR, 'InvenTree', 'static'),
] ]
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
# Translated Template settings # Translated Template settings
STATICFILES_I18_PREFIX = 'i18n' STATICFILES_I18_PREFIX = 'i18n'