Limit the rate of logins.

This commit is contained in:
Diana Huang
2013-07-31 16:39:10 -04:00
parent a628b62d1e
commit c867be7961
20 changed files with 171 additions and 106 deletions

View File

@@ -15,6 +15,7 @@ sessions. Assumes structure:
from .common import *
import os
from path import path
from warnings import filterwarnings
# Nose Test Runner
INSTALLED_APPS += ('django_nose',)
@@ -124,6 +125,9 @@ CACHES = {
}
}
# hide ratelimit warnings while running tests
filterwarnings('ignore', message='No request passed to the backend, unable to rate-limit')
################################# CELERY ######################################
CELERY_ALWAYS_EAGER = True