mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 20:33:11 +00:00
Update CHANGELOG.md
This commit is contained in:
parent
3fb579b1d7
commit
b36e2cc4b3
1 changed files with 13 additions and 0 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -217,3 +217,16 @@ apt install python3-dev
|
||||||
|
|
||||||
Make sure that all depending packages (python3-django etc) provided in the new
|
Make sure that all depending packages (python3-django etc) provided in the new
|
||||||
apt_requirements_radius.txt are installed.
|
apt_requirements_radius.txt are installed.
|
||||||
|
|
||||||
|
## MR 535 : Routers
|
||||||
|
|
||||||
|
It is now possible to use a custom router file, if you want to have mutli database
|
||||||
|
support, with for example one as master database and one as replica database.
|
||||||
|
If you want to add a database routers, please fill in in settings_local.py
|
||||||
|
and add your databse.
|
||||||
|
Then, add a file "local_routers.py" in folder app re2o, and add your router path
|
||||||
|
in the settings_local.py file :
|
||||||
|
|
||||||
|
```python
|
||||||
|
LOCAL_ROUTERS = ["re2o.local_routers.DbRouter"]
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue