1.python3 manage.py startapp goods
2.startapp users
3.启动django服务器
# make new migrations
python3 manage.py makemigrations
# apply all migrations
python3 manage.py migrate
# run server
python3 manage.py runserver
2024-01-13 17:51:16
1.python3 manage.py startapp goods
2.startapp users
3.启动django服务器
# make new migrations
python3 manage.py makemigrations
# apply all migrations
python3 manage.py migrate
# run server
python3 manage.py runserver
下一篇:axios学习笔记