Implement 3 plans
This commit is contained in:
12
app/test_settings.py
Normal file
12
app/test_settings.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Test-only settings overrides — used via DJANGO_SETTINGS_MODULE=app.test_settings."""
|
||||
from app.settings import * # noqa: F401, F403
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
}
|
||||
}
|
||||
|
||||
INSTALLED_APPS = [app for app in INSTALLED_APPS if app != "cachalot"] # noqa: F405
|
||||
|
||||
CHANNEL_LAYERS = {"default": {"BACKEND": "channels.layers.InMemoryChannelLayer"}}
|
||||
Reference in New Issue
Block a user