Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AdminToolsDjango-1.0.6.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file AdminToolsDjango-1.0.6.tar.gz.

File metadata

  • Download URL: AdminToolsDjango-1.0.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for AdminToolsDjango-1.0.6.tar.gz
Algorithm Hash digest
SHA256 b1d0a04b99b84ebfc3ab697ba7c6989d69d1f9245b2eac2403559027cbdf9498
MD5 fe41ddb428a9ff98acc498d8d2cb7667
BLAKE2b-256 ef23e0166c9ad1e1b7813dced6c5b5dbd8f628a80ab990d4b5f2ac096f96cef9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page