mirror of
https://github.com/django-components/django-components.git
synced 2025-08-07 07:48:00 +00:00
refactor: fix wrongly initiated settings (#1250)
* refactor: fix wrongly initiated settings * refacttor: remove `_load_settings()` from apps.py * refactor: fix building of docs + update titles in API reference * refactor: fix docs build error * refactor: use EXTENSIONS_DEFAULTS * refactor: update titles
This commit is contained in:
parent
2350a6b6c4
commit
458e1894db
16 changed files with 65 additions and 41 deletions
|
@ -25,7 +25,7 @@ def component_error_message(component_path: List[str]) -> Generator[None, None,
|
|||
if not components:
|
||||
orig_msg = str(err.args[0])
|
||||
else:
|
||||
orig_msg = err.args[0].split("\n", 1)[-1]
|
||||
orig_msg = str(err.args[0]).split("\n", 1)[-1]
|
||||
else:
|
||||
orig_msg = str(err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue