Support HTMX with Django Debug Toolbar
This commit is contained in:
parent
0e93993498
commit
c55fbe86b5
|
@ -58,6 +58,7 @@ MIDDLEWARE = [
|
|||
if DEBUG:
|
||||
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
|
||||
INTERNAL_IPS = ["127.0.0.1"]
|
||||
DEBUG_TOOLBAR_CONFIG = {"ROOT_TAG_EXTRA_ATTRS": "hx-preserve"}
|
||||
|
||||
ROOT_URLCONF = "timetracker.urls"
|
||||
|
||||
|
|
Loading…
Reference in New Issue