Skip to content

Commit 7f04a8d

Browse files
committed
random docs cleanup
1 parent 798afc0 commit 7f04a8d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/src/reference/settings.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ Multiprocessing-safe database used by ReactPy, typically for session data.
8888

8989
If configuring this value, it is mandatory to enable our database router like such:
9090

91-
```python linenums="0"
92-
DATABASE_ROUTERS = ["reactpy_django.database.Router", ...]
93-
```
91+
=== "settings.py"
92+
93+
```python linenums="0"
94+
DATABASE_ROUTERS = ["reactpy_django.database.Router", ...]
95+
```
9496

9597
---
9698

@@ -145,7 +147,7 @@ Configures whether to pre-render your components via HTTP, which enables SEO com
145147
During pre-rendering, there are some key differences in behavior:
146148

147149
1. Only the component's first render is pre-rendered.
148-
2. All `#!python connection` related hooks use HTTP.
150+
2. All [`connection` hooks](https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#connection-hooks) will provide HTTP variants.
149151
3. The component will be non-interactive until a WebSocket connection is formed.
150152

151153
<!-- TODO: The comment below will become true when ReactPy no longer strips scripts from the DOM -->

0 commit comments

Comments
 (0)