From 523ee8bbe8847dd33315ecaf8916ade88ed14de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 2 Mar 2017 16:01:13 +0100 Subject: [PATCH] Fixed bug with throttling code --- taiga/base/throttling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/taiga/base/throttling.py b/taiga/base/throttling.py index d4d3a361..086f9660 100644 --- a/taiga/base/throttling.py +++ b/taiga/base/throttling.py @@ -16,8 +16,10 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from taiga.base.api import throttling from django.conf import settings +from django.core.exceptions import ImproperlyConfigured + +from taiga.base.api import throttling from ipware.ip import get_ip from netaddr import all_matching_cidrs from netaddr.core import AddrFormatError