Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add basic auth to celery flower
Roland Geider97d95e22b5af
diff --git a/extras/docker/development/celery/flower/start b/extras/docker/development/celery/flower/startindex 4e4527d17..b56e09355 100755--- a/extras/docker/development/celery/flower/start+++ b/extras/docker/development/celery/flower/start@@ -3,4 +3,4 @@set -o errexitset -o nounset-celery -A wger --broker="${CELERY_BROKER}" flower+celery -A wger --broker="${CELERY_BROKER}" flower --basic_auth=wger:${CELERY_FLOWER_PASSWORD}diff --git a/wger/settings_global.py b/wger/settings_global.pyindex 36a8fcc0e..ca1a9db64 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -239,7 +239,7 @@ AVAILABLE_LANGUAGES = (('fr', 'French'),('it', 'Italian'),('nl', 'Dutch'),- ('no', 'Norwegian'),+ ('nb', 'Norwegian'),('pl', 'Polish'),('pt', 'Portuguese'),('pt-br', 'Brazilian Portuguese'),@@ -247,7 +247,7 @@ AVAILABLE_LANGUAGES = (('sv', 'Swedish'),('tr', 'Turkish'),('uk', 'Ukrainian'),- ('zh', 'Chinese simplified'),+ ('zh-hans', 'Chinese simplified'),)# Default language code for this installation.@@ -470,7 +470,7 @@ CORS_URLS_REGEX = r'^/api/.*$'## Ignore these URLs if they cause 404#-IGNORABLE_404_URLS = (re.compile(r'^/favicon\.ico$'),)+IGNORABLE_404_URLS = (re.compile(r'^/favicon\.ico$'), )## Password rules