sha-accounts
Customized Django Rest Framework Accounting App
Installation
pip install sha-accounts
Quick Start
set these variables on settings.py
from datetime import timedelta
SHA_ACCOUNTS = {
'DEFAULT_ACTIVATION': True,
'AUTH_USER_PROFILE_MODEL': 'examples.ExampleProfile',
'JWT_ACCESS_TOKEN_EXP': timedelta(days=1),
'JWT_USER_ENCODED_FIELDS': ['id'],
'JWT_AUTH_RAELM':'sample_raelm'
}
Release files for sha-accounts 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sha-accounts-0.2.0.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sha_accounts-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / sha-accounts-0.2.0.tar.gz
| Download URL | sha-accounts-0.2.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4b4871faca5df09175f3b50f0f8f94b19b8ffb76c32214c1d584e37ff10d448
|
|
BLAKE2b-256 checksum How to use checksums |
5c044ca846ee149b6d9ba9e07bfbfb4210147af5ffb7ece5973279294a6c140f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.8.12
|
Release files / sha_accounts-0.2.0-py3-none-any.whl
| Download URL | sha_accounts-0.2.0-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7d4849df3389149f4bc82d23dd50095978c45dc73b3c7006fd56ff9057ac4f6
|
|
BLAKE2b-256 checksum How to use checksums |
beaa2ced3b7bc7c63850767d7df855ac9d2c1ead8b27e8d0d58b474efe4e677c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.8.12
|