Uzcloud Billing
Project description
Uzcloud Billing is a Django app to provide account with Uzcloud Billing account number.
Quick start
1.Add “rest_framework” and “uzcloud_billing” to your INSTALLED_APPS :
INSTALLED_APPS = [
...
'rest_framework',
'uzcloud_billing',
]
2.Include the uzcloud_billing urls in your project urls.py like this :
path('api/billing/', include('uzcloud_billing.urls')),
3.Add Following credentials to settings.py :
UZCLOUD_AUTH_URL = ""
UZCLOUD_BILLING_BASE_URL = ""
UZCLOUD_BILLING_CLIENT_ID = ""
UZCLOUD_BILLING_CLIENT_SECRET = ""
BILLING_SERVICE_WEBHOOK_USERNAME = ""
BILLING_SERVICE_WEBHOOK_PASSWORD = ""
BILLING_SERVICE_IDENT_RESPONSE_SERIALIZER = ""(Note that this serializer must get **User object** as instance)
4.Run python manage.py migrate to create the uzcloud_billing models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uzcloud-billing-0.1.4.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for uzcloud_billing-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a28a2081816ae143dcfbedfe1a0b9279e1656698c664e8ef55c2ca285b73ba |
|
MD5 | baaee6a0d8d02caf3624de864168ab2e |
|
BLAKE2b-256 | e287c7039d9eb7327acd9e07f3108136a890cd4f3f07fed3b3f9837cc90debcb |