Files
dilib_operations/config/postgres_test_settings.py
ms 2c1c48df0c
PostgreSQL integration / tests (push) Has been cancelled
init
2026-11-09 13:15:48 +01:00

8 lines
336 B
Python

import os
os.environ.setdefault('DJANGO_SECRET_KEY','test-only-not-production')
os.environ['TEST_SQLITE']='0'
os.environ.setdefault('ALLOWED_HOSTS','testserver,localhost,127.0.0.1')
from .settings import *
# Test API rate limits do not need a shared cache.
CACHES={'default':{'BACKEND':'django.core.cache.backends.locmem.LocMemCache'}}