1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/docs/dev/modules/db_router.py.md
Matt Griswold 1eda45ffeb ignore new ixf field (#1082)
* ignore new ixf field

* pre-commit

* gh actions linting fix
2021-10-30 10:20:04 -05:00

481 B

Generated from db_router.py on 2021-10-15 07:56:57.136306

peeringdb_server.db_router

Custom django database routers.

Split read and write database connections if needed.

Classes


DatabaseRouter

DatabaseRouter(builtins.object)

A very basic database router that routes to a different read and write db.

TestRouter

TestRouter(peeringdb_server.db_router.DatabaseRouter)

A very basic database router that routes to a different read and write db.