Fixed bug with throttling code

remotes/origin/issue/4217/improving-mail-design
Jesús Espino 2017-03-02 16:01:13 +01:00
parent c6d918f9d0
commit 523ee8bbe8
1 changed files with 3 additions and 1 deletions

View File

@ -16,8 +16,10 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from taiga.base.api import throttling
from django.conf import settings from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from taiga.base.api import throttling
from ipware.ip import get_ip from ipware.ip import get_ip
from netaddr import all_matching_cidrs from netaddr import all_matching_cidrs
from netaddr.core import AddrFormatError from netaddr.core import AddrFormatError