diff --git a/allauth/headless/app_settings.py b/allauth/headless/app_settings.py index dd8e2932c1..18f9ba657d 100644 --- a/allauth/headless/app_settings.py +++ b/allauth/headless/app_settings.py @@ -32,7 +32,9 @@ def SERVE_SPECIFICATION(self) -> bool: @property def SPECIFICATION_TEMPLATE_NAME(self) -> Optional[str]: - return "headless/spec/redoc_cdn.html" + return self._setting( + "SPECIFICATION_TEMPLATE_NAME", "headless/spec/redoc_cdn.html" + ) @property def CLIENTS(self) -> Tuple[str]: