ffplayout/docs/developer-info.md

16 lines
387 B
Markdown
Raw Normal View History

2020-05-04 11:35:51 -04:00
### Backend Apps
2020-05-05 05:38:35 -04:00
If you planing to extend the backend with your own apps (api endpoints),
just add your app in folder: **ffplayout/apps**.
2020-05-04 11:35:51 -04:00
2020-05-05 05:38:35 -04:00
If you planing to us a DB, put a **settings.py** file in your app. With this object:
2020-05-04 11:35:51 -04:00
2020-05-05 05:38:35 -04:00
```python
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db-name.sqlite3'),
2020-05-04 11:35:51 -04:00
}
2020-05-05 05:38:35 -04:00
}
2020-05-04 11:35:51 -04:00
```