简体中文 | English
django-admin-api
- 体验登录账号:demo / demo
- 体验网站(PC端)(antd版本):http://antd.nieoding.ml
- 体验网址(PC端)(element版本): http://element.nieoding.ml
- 体验网址(移动端)-- 手机扫码:
版本要求
- Python (3.5, 3.6, 3.7, 3.8, 3.9)
- Django (2.2, 3.0, 3.1, 3.2)
第一步: 安装
使用pip安装...
pip install django-admin-api
第二步: 创建一个简单项目
django-admin startproject example
cd example
./manage.py migrate
./manage.py createsuperuser
INSTALLED_APPS 加入如下依赖.
# example/settings.py
INSTALLED_APPS = [
...
'rest_framework',
'django_filters',
'admin_api',
]
第三步: 输出API接口
# example/urls.py
...
import admin_api
urlpatterns = [
...
path('api/', admin_api.site.urls),
]
前端框架列表
| 框架 | 设备 | 项目 |
|---|---|---|
| ant-design(vue) | 桌面端 | antd-django |
| element(vue) | 桌面端 | element-django |
| vant(vue) | 移动端 | vant-django |
后端项目创建完成以后,移步到前端框架项目中...
Metadata
Release files for django-admin-api 0.0.8
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 |
|---|---|---|---|---|
| django-admin-api-0.0.8.tar.gz | 12.2 kB | Without provenance | Details for django-admin-api-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_admin_api-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for django_admin_api-0.0.8-py3-none-any.whl |
Total release size: 25.8 kB
Release files / django-admin-api-0.0.8.tar.gz
| Download URL | django-admin-api-0.0.8.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23ce48b63df923ea47b646728b5c90e0a2cb67b7666021e2f800270cbdc0ee2d
|
|
BLAKE2b-256 checksum How to use checksums |
985d754c73562aff216d132b8584d9b0798674218cc5d535c3cc500658f3ecdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
|
Release files / django_admin_api-0.0.8-py3-none-any.whl
| Download URL | django_admin_api-0.0.8-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3080fa8451731f0f59824d6dd8a94d7e9cd3b1684e54d253cd86e33874f27ca
|
|
BLAKE2b-256 checksum How to use checksums |
22944d6d0e7b8a352092a2c99670ab9962850544335cb9e5dfa0062512fc695c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
|
Security for django-admin-api 0.0.8
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.