From 3ceb546ae215b183b3d28e64ec1fd15abc1f036d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20H=C3=A4kli?= Date: Fri, 15 May 2020 19:24:08 +0300 Subject: [PATCH] Fix/585 (#586) * Fixes #585 where appconf sniffs the module name for a settings prefix Co-authored-by: Mark Walker --- axes/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/axes/conf.py b/axes/conf.py index c647689..59c838b 100644 --- a/axes/conf.py +++ b/axes/conf.py @@ -5,6 +5,9 @@ from appconf import AppConf class AxesAppConf(AppConf): + class Meta: + prefix = "axes" + # disable plugin when set to False ENABLED = True