Updating docs
parent
5dc5ed1dd6
commit
0944c887e0
|
|
@ -6,16 +6,19 @@ So far only MySQL is supported as backend, but more could be added if necessary.
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
1. Add "dbview" to your INSTALLED_APPS settings like this::
|
1. Add "dbview" to your INSTALLED_APPS settings like this:
|
||||||
|
|
||||||
|
```python
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
...
|
...
|
||||||
'dbview',
|
'dbview',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
2. In your models.py create classes which extend dbview.models.DbView
|
2. In your models.py create classes which extend dbview.models.DbView
|
||||||
like this
|
like this:
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue