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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_coturn-0.3.1.tar.gz.
File metadata
- Download URL: django_coturn-0.3.1.tar.gz
- Upload date:
- Size: 11.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.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bebaff7247a6d0219b4f2f1c3d4b85114bfc48cf69a185023aa1f4d3e4aef50
|
|
| MD5 |
be1210cf222b0d72ae2ff23cb32d92e1
|
|
| BLAKE2b-256 |
4edcf82e1e85fd63e0802074482891eb04a63b3ddf7e12cff7ac92a0199d1bdd
|
File details
Details for the file django_coturn-0.3.1-py3-none-any.whl.
File metadata
- Download URL: django_coturn-0.3.1-py3-none-any.whl
- Upload date:
- Size: 25.5 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.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a3c1100f7aae5119192f34eb6588d98b401dad91d05350b0a9246d59276ee0d
|
|
| MD5 |
ffa08dae433aee45baf3fc27de391c7c
|
|
| BLAKE2b-256 |
106290a7aa6d5bf4b721265dd3df9a4389d74a9e5152a97f8a99151c7c1d9357
|