Skip to content

Commit

Permalink
fix(headless/spec): Remove hardcoded template name
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Dec 27, 2024
1 parent 0e4791b commit c11e142
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion allauth/headless/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit c11e142

Please sign in to comment.