Skip to content

Latest commit

 

History

History
75 lines (37 loc) · 781 Bytes

Readme.md

File metadata and controls

75 lines (37 loc) · 781 Bytes

初始化

  • 兼容Django-4.0和Django-5.0

3.6以上兼容

1. 报错No module named packaging

pip3 install --upgrade pip
pip3 install packaging

win

# 获取脚本
python tools\getshell.py

# 迁移
shells\wmigrate.bat
shells\wmigrate.bat file_upload

# shells\wmigrate.bat index

linux or mac

# 获取脚本
python tools/getshell.py

# 迁移
bash shells/migrate.bat
bash shells/migrate.bat file_upload

# bash shells/migrate.bat index

运行参数

python manage.py runserver

环境变量

PYTHONUNBUFFERED=1;LANG=C.UTF-8;PYTHONIOENCODING=utf-8

后台界面

  • 密码在file_upload/admin.py中通过create_user_if_not_exist设置
  • 后台地址