Skip to content

Commit 1bfba22

Browse files
committed
Update README
1 parent 20de1ff commit 1bfba22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ DATABASES = {
2828
}
2929
```
3030

31+
If you need a custom database backend you can either inherit from `django_fqq.backend.base.DatabaseWrapper` or set `ops_class = DatabaseOperations` from `django_fqq.backend.operations.DatabaseOperations` in your DatabaseWrapper.
32+
3133
### 2. Add the app
3234

3335
```python
@@ -47,6 +49,8 @@ FQQ_SHARED_APPS = ["auth", "contenttypes"]
4749

4850
### 4. Add the middleware (optional)
4951

52+
The middleware provides very basic routing of requests to a specific database schema. For a more robust solution that handles migrations and other functionality, check out [django-tenants](https://pypi.org/project/django-tenants/).
53+
5054
```python
5155
MIDDLEWARE = [
5256
"django_fqq.middleware.SchemaMiddleware",

0 commit comments

Comments
 (0)