Django Coturn is a Django app to synchronize django admins/users with Coturn's user database. Coturn is an open-source STUN/TURN/ICE server.
Project description
Django Coturn is a Django app to synchronize django admins/users with Coturn’s user database. Coturn is an open-source STUN/TURN/ICE server.
https://github.com/coturn/coturn
Quick start
Add “coturn” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... "django_coturn", ]
Create an empty coturn database
Configure the following in your settings.py:
DATABASES = { ... your default and auxilary database configs "coturn": env.db("COTURN_DATABASE_URL") } COTURN_REALM = "turn.example-domain.com" COTURN_SECRET_KEY = "127 character secret"
Run python manage.py migrate to create the coturn models.
Run python manage.py sync_coturn {turn_secret,turn_admin,turn_user} to sync users/admin data to coturn tables. You only need to do this once per table - subsequent updates will be handled by Django signals.
Contributor’s Guide
Create a development environment (requires docker & docker-compose):
make dev
Run tests and generate a coverage report:
make tests
Run black linter:
make lint
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_coturn-0.1.1.tar.gz
.
File metadata
- Download URL: django_coturn-0.1.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 169a217cdc2ecdb1ea3146f9b5b94a5e4da3c77432b3860cbabf84937833d36e |
|
MD5 | 27801877c1a50f2f8473e67e76911581 |
|
BLAKE2b-256 | 79b9c136df9229e577e5bd96e6107975b7f64a0a71a5add4dce89b0e2bb67462 |
File details
Details for the file django_coturn-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: django_coturn-0.1.1-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86698c1df7705d56198c4c259f3b9701fe52d4260470d8516d5be8fc4d75f3ee |
|
MD5 | 9eaca868a90884a29a8295e9eb4689af |
|
BLAKE2b-256 | 28d20640fd6f9194f81d419c3395658c62432e69c9a53ba11f977a0c7b3c4762 |