Skip to content

Commit 9717ac9

Browse files
committed
Update readme.
1 parent 09700d1 commit 9717ac9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Use `${SOME_VARIABLE_NAME}` to use an existing setting as a value.
5151
```toml
5252
[tool.django]
5353
GOOD_IPS = ["127.0.0.1"]
54-
ALLOWED_HOSTS = ${GOOD_IPS}
54+
ALLOWED_HOSTS = "${GOOD_IPS}" # this needs to be quoted to be valid TOML, but will be converted into a `list`
5555
```
5656

5757
### Apps
@@ -89,7 +89,7 @@ The prefix and suffix that denotes a special operation can be configured with `T
8989
[tool.django]
9090
TOML_SETTINGS_SPECIAL_PREFIX = "&"
9191
TOML_SETTINGS_SPECIAL_SUFFIX = "*"
92-
BASE_DIR = { &path* = "." }
92+
BASE_DIR = { "&path*" = "." }
9393
```
9494

9595
### Path

0 commit comments

Comments
 (0)