Skip to content
Snippets Groups Projects
Commit 1d153f1a authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merge branch 'setting-frontend-version' into 'master'

Avoid empty FRONTEND_VERSION with the new config style

See merge request !752
parents 059083f8 0559093c
No related branches found
No related tags found
1 merge request!752Avoid empty FRONTEND_VERSION with the new config style
......@@ -167,7 +167,7 @@ STATIC_ROOT = conf['static']['root_path']
STATICFILES_DIRS = []
# By default the frontend version is the same as the backend
FRONTEND_VERSION = conf['static'].get('frontend_version', VERSION)
FRONTEND_VERSION = conf['static'].get('frontend_version') or VERSION
# API
REST_FRAMEWORK = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment