File: settings.py

package info (click to toggle)
django-graphiql-debug-toolbar 0.2.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: python: 155; javascript: 30; sh: 15; makefile: 11
file content (38 lines) | stat: -rw-r--r-- 728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
INSTALLED_APPS = [
    "debug_toolbar",
    "graphiql_debug_toolbar",
]

MIDDLEWARE = [
    "debug_toolbar.middleware.DebugToolbarMiddleware",
]

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.sqlite3",
    },
}

SECRET_KEY = "test"
ROOT_URLCONF = "tests.urls"

STATIC_ROOT = "../graphiql_debug_toolbar/static/"
STATIC_URL = '/static/'

TEMPLATES = [
    {
        "BACKEND": "django.template.backends.django.DjangoTemplates",
        "OPTIONS": {
            "loaders": [
                "django.template.loaders.app_directories.Loader",
            ],
        },
    },
]

DEBUG_TOOLBAR_CONFIG = {
    "RENDER_PANELS": False,
    "DISABLE_PANELS": [],
}

DEBUG_TOOLBAR_CONFIG['IS_RUNNING_TESTS'] = False