使用方法
1.安装
pip install drf-vue
2 . 在setting.py引入 vue
INSTALLED_APPS = [
....
'vue'
]
3.在viewset中使用
from vue.mixins import VueMixin
class xxViewSet( VueMixin):
4.访问url获取示例代码 只需要在路由后面加上/vue即可查看示例代码 eg: http://127.0.0.1:8000/api/xx/xxservice/vue/
Metadata
Release files for drf-vue 1.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 | Provenance | Actions |
|---|---|---|---|---|
| drf-vue-1.0.6.tar.gz | 135.3 kB | Without provenance | Details for drf-vue-1.0.6.tar.gz |
Release files / drf-vue-1.0.6.tar.gz
| Download URL | drf-vue-1.0.6.tar.gz |
|---|---|
| Size | 135.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50262643b6c7ce6abb3d5b270c771d41e083656c1e171c2175e8cdca02c177ac
|
|
BLAKE2b-256 checksum How to use checksums |
9bb5b69ee5bc9da372aa6e250f1d45c488f363ea5f0f5fa96f42c1aff4014a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.8.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/2.7.12
|
Security for drf-vue 1.0.6
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.