1.python3 manage.py startapp goods
2.startapp users
3.启动django服务器
# make new migrations
python3 manage.py makemigrations# apply all migrationspython3 manage.py migrate# run serverpython3 manage.py runserver
本文共 261 字,大约阅读时间需要 1 分钟。
1.python3 manage.py startapp goods
2.startapp users
3.启动django服务器
# make new migrations
python3 manage.py makemigrations# apply all migrationspython3 manage.py migrate# run serverpython3 manage.py runserver
转载于:https://www.cnblogs.com/lystbc/p/10099989.html