22 lines
358 B
Python
22 lines
358 B
Python
SECRET_KEY = 'ratelimit'
|
|
|
|
INSTALLED_APPS = (
|
|
'ratelimit',
|
|
)
|
|
|
|
RATELIMIT_USE_CACHE = 'default'
|
|
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|
'LOCATION': 'ratelimit-tests',
|
|
},
|
|
}
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': 'test.db',
|
|
},
|
|
}
|