Skip to content

Commit

Permalink
document DATABASE_ROUTERS
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Jul 9, 2023
1 parent d0b17e4 commit 7e6ff78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/python/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
# Database ReactPy uses to store session data.
# ReactPy requires a multiprocessing-safe and thread-safe database.
# Do NOT use an in-memory database.
# DATABASE_ROUTERS is mandatory if REACTPY_DATABASE is configured
REACTPY_DATABASE = "default"
DATABASE_ROUTERS = ["reactpy_django.database.Router"]

# Maximum seconds between reconnection attempts before giving up.
# Use `0` to prevent component reconnection.
Expand Down

0 comments on commit 7e6ff78

Please sign in to comment.