Skip to content

Commit

Permalink
Closes #139: Tweak installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Sep 25, 2024
1 parent ecb6637 commit 175a43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PLUGINS = [
]
```

5. Create `local_settings.py` to override the `DATABASES` & `DATABASE_ROUTERS` settings. This enables dynamic schema support.
5. Create `local_settings.py` (in the same directory as `settings.py`) to override the `DATABASES` & `DATABASE_ROUTERS` settings. This enables dynamic schema support.

```python
from netbox_branching.utilities import DynamicSchemaDict
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ PLUGINS = [

This plugin employs dynamic schema resolution, which requires that we override two low-level Django settings. First, we'll wrap NetBox's configured `DATABASE` parameter with `DynamicSchemaDict` to support dynamic schemas. Second, we'll employ the plugin's custom database router.

Create a new file named `local_settings.py` in the same directory as `configuration.py`, and add the content below.
Create a new file named `local_settings.py` in the same directory as `settings.py`, and add the content below.

```python
from netbox_branching.utilities import DynamicSchemaDict
Expand Down

0 comments on commit 175a43f

Please sign in to comment.