Catalog PyPI
Back to packageRELEASE DETAILS

1.0.6

PyPI

AdminToolsDjango

## AdminToolsDjango 使用模板 自动创建Django项目 ## 介绍: 兼容 linux windows 系统 创建虚拟环境后 安装djano==3.2.11 然后用模板创建项目, 可以自定义模板: 模板路径 建议使用绝对路径 可以自定义项目上级文件夹,project_parent_dir, 建议使用绝对路径 ## 使用示例: ```python 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: ```shell pip install AdminToolsDjango ```

Published3 Jun 2023
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 1.0.6 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
AdminToolsDjango-1.0.6.tar.gz

sdist · 8.74 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:42 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:129542a0695613f8ee18eef088f07fb71ce99c2aeb05713cbce5cb87c6dfc2cf

Other collected versions

View all collected versions →