Browse Source

📝 Fix out-of-range highlight in advanced settings docs

The config.py embed used hl[10] but the file is only 7 lines long, so it
highlighted a non-existent line. It was a leftover from the app01 example
where line 10 was `settings = Settings()`. The prose just below confirms it:
"Notice that now we don't create a default instance `settings = Settings()`."
pull/15811/head
Patrick Wehbe 1 month ago
parent
commit
a1d59a7580
  1. 2
      docs/en/docs/advanced/settings.md

2
docs/en/docs/advanced/settings.md

@ -126,7 +126,7 @@ This could be especially useful during testing, as it's very easy to override a
Coming from the previous example, your `config.py` file could look like:
{* ../../docs_src/settings/app02_an_py310/config.py hl[10] *}
{* ../../docs_src/settings/app02_an_py310/config.py *}
Notice that now we don't create a default instance `settings = Settings()`.

Loading…
Cancel
Save