Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

adding settings to extras/docker/development/settings.py

Rohan Karan656866603571
diff --git a/wger/settings_global.py b/wger/settings_global.py
index c72b78be2..8130583b0 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -130,11 +130,11 @@ MIDDLEWARE = (
'simple_history.middleware.HistoryRequestMiddleware',
# Django Axes
- 'axes.middleware.AxesMiddleware',
+ 'axes.middleware.AxesMiddleware', # should be the last one in the list
)
AUTHENTICATION_BACKENDS = (
- 'axes.backends.AxesStandaloneBackend',
+ 'axes.backends.AxesStandaloneBackend', # should be the first one in the list
'django.contrib.auth.backends.ModelBackend',
'wger.utils.helpers.EmailAuthBackend',
)