Enhance performance by prefetching more
This commit is contained in:
parent
66ea46cf23
commit
fb087a01c0
6 changed files with 104 additions and 12 deletions
|
|
@ -224,6 +224,10 @@ DATABASES: dict[str, dict[str, Any]] = configure_databases(
|
|||
base_dir=BASE_DIR,
|
||||
)
|
||||
|
||||
if DEBUG:
|
||||
INSTALLED_APPS.append("zeal")
|
||||
MIDDLEWARE.append("zeal.middleware.zeal_middleware")
|
||||
|
||||
if not TESTING:
|
||||
INSTALLED_APPS = [*INSTALLED_APPS, "debug_toolbar", "silk"]
|
||||
MIDDLEWARE = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue