DRF complete metadata
About
This package provides custom metadata class for Django Rest Framework to enrich data returned by OPTIONS requests in easy way.
Install
pip install drf-complete-metadata
Usage
Just set the DEFAULT_METADATA_CLASS option in the REST_FRAMEWORK configuration dict in Django settings.
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.TokenAuthentication',
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated'
],
'DEFAULT_METADATA_CLASS': 'complete_metadata.ApiMetadata',
}
License
The DRF complete autocomplete package is licensed under the FreeBSD License.
Metadata
Release files for drf-complete-metadata 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| drf-complete-metadata-1.0.0.tar.gz | 6.6 kB | Without provenance | Details for drf-complete-metadata-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drf_complete_metadata-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for drf_complete_metadata-1.0.0-py3-none-any.whl |
Total release size: 13.4 kB
Release files / drf-complete-metadata-1.0.0.tar.gz
| Download URL | drf-complete-metadata-1.0.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c416d38f1ab992b86238426a954c5295daeee3e12078ed3c0aaa629429f2a3f4
|
|
BLAKE2b-256 checksum How to use checksums |
872a8dc4b41e7963357d2f45cf6421c27da28f43defe0a81879f747091227183
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / drf_complete_metadata-1.0.0-py3-none-any.whl
| Download URL | drf_complete_metadata-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
520d673d5e648d2fe2d6bf12ceef9f97aeca8b5822ccb18a71ba17fd96b0173b
|
|
BLAKE2b-256 checksum How to use checksums |
df33da5aec959e8af55d8c84b92a5a62ddd8d73d46493c4981e8c38d6f258e3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for drf-complete-metadata 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.