Welkin
Welkin is a Django app to connect to the Welkin Health API.
Quick start
- Install django-welkin with pip:
pip install django-welkin
- Add django-welkin and django-solo to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
"solo",
'django_welkin',
]
- Include the django-welkin URLconf in your project urls.py like this:
path('welkin/', include('django_welkin.urls')),
-
Run
python manage.py migrateto create the welkin models. -
Start the development server and visit http://localhost:8000/admin/welkin/configuration/ to and add API secrets to the singleton (you'll need the Admin app enabled).
Configuration
Syncing Users
The sync command will only sync the users who have one of the roles in settings.WELKIN_SYNC_ROLES.
When set this should be a list containing the roles that are allowed to be synced.
For instance by default this list is:
["health-coach", "physician"]
Metadata
Release files for django-welkin 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_welkin-0.0.6.tar.gz | 21.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_welkin-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.6 kB
Release files / django_welkin-0.0.6.tar.gz
| Download URL | django_welkin-0.0.6.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0495d0e85f40ebe51048805a64e03b9eae198102705ee02547369ea67e78bbc
|
|
BLAKE2b-256 checksum How to use checksums |
d1f9085d74be7a05510a15c0ef65622411aee61f4ccb326e73e3859e8f91e76b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure
|
Release files / django_welkin-0.0.6-py3-none-any.whl
| Download URL | django_welkin-0.0.6-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b39392dab60ac6d67f95259efc60c146972ecf9f25b6c3eaaed6417de4e2aaa0
|
|
BLAKE2b-256 checksum How to use checksums |
5bfafa0dbce4ec555d6f504ecfd9ca49a12ec9882f567d0bdd0d92b78535472a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure
|