AdminToolsDjango
使用模板 自动创建Django项目
介绍:
兼容 linux windows 系统
创建虚拟环境后 安装djano==3.2.11 然后用模板创建项目,
可以自定义模板: 模板路径 建议使用绝对路径
可以自定义项目上级文件夹,project_parent_dir, 建议使用绝对路径
使用示例:
import AdminToolsDjango
# 创建一个对象
django_project = AdminToolsDjango.ProjectManager(project_parent_dir='/obj_test/new_obj_parent',
project_name='new_obj',
)
print(django_project.cmd_activate_venv)
# 创建项目
django_project.create_project()
# 配置生产环境 会自动配置nginx反向代理 要确保linux系统 有 nginx 服务器
django_project.configure_production_environment()
安装:
使用以下命令安装 AdminToolsDjango:
pip install AdminToolsDjango
Metadata
Release files for AdminToolsDjango 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 | |
|---|---|---|---|---|
| AdminToolsDjango-1.0.6.tar.gz | 9.0 kB | Without provenance | Details |
Release files / AdminToolsDjango-1.0.6.tar.gz
| Download URL | AdminToolsDjango-1.0.6.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1d0a04b99b84ebfc3ab697ba7c6989d69d1f9245b2eac2403559027cbdf9498
|
|
BLAKE2b-256 checksum How to use checksums |
ef23e0166c9ad1e1b7813dced6c5b5dbd8f628a80ab990d4b5f2ac096f96cef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for AdminToolsDjango 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.