diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py index d621976..5b53075 100644 --- a/debug_toolbar/settings.py +++ b/debug_toolbar/settings.py @@ -47,7 +47,7 @@ class DebugToolbarSettings(BaseSettings): "want disabled (but still displayed) by default." ), ) - ALLOWED_HOSTS: t.Sequence[str] | None = Field( + ALLOWED_HOSTS: t.Optional[t.Sequence[str]] = Field( None, description=( "If it's set, the Debug Toolbar is shown only "