mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Our react components' main.js could not be added in the compression, so sometimes users would get outdated files served. The LenientManifestStaticFilesStorage now makes sure that the static files get a hash in the filename. Django compressor was removed since most of the js and css files are already minified and modern http versions can handle files better.
Settings
This directory contains configuration files and settings for the project.
You can add your own configuration files here, e.g. for development. Set
the DJANGO_SETTINGS_MODULE environment variable to point to the new settings
file. E.g.:
export DJANGO_SETTINGS_MODULE=settings.local_dev
python manage.py runserver
If you want to add settings that are not tracked by git, you can create a
local_dev_extra.py file, this will be imported by local_dev.py if it exists.