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 Karan39678c3c60e1
diff --git a/extras/docker/development/settings.py b/extras/docker/development/settings.py
index a849f58f1..f63cae05f 100644
--- a/extras/docker/development/settings.py
+++ b/extras/docker/development/settings.py
@@ -117,13 +117,8 @@ COMPRESS_ROOT = STATIC_ROOT
EMAIL_PAGE_DOMAIN = 'http://localhost/'
-#
# Django Axes
-#
-AXES_ENABLED = True # allow to disable axes entirely
-# (e.g. if this is run in a local network or so we would save up some resources),
-# but default it true
+AXES_ENABLED = True # allow to disable axes entirely (e.g. if this is run in a local network or so we would save up some resources), but default is true
AXES_FAILURE_LIMIT = 5 # configurable, default is 5
AXES_COOLOFF_TIME = 0.5 # configurable, default is 0.5 hours
-AXES_HANDLER = 'axes.handlers.cache.AxesCacheHandler' # Configurable,
-# but default is the cache handler.
+AXES_HANDLER = 'axes.handlers.cache.AxesCacheHandler' # Configurable, but default is the cache handler