完成订单页面
创建订单项目
python manage.py startapp df_order
manas/settings.py
manas/urls.py
创建静态文件:
templates/df_order/order.html
创建模型类
df_order/models.py
迁移数据
python manage.py makemigrations python manage.py migrate
df_order/views.py
df_order/urls.py
templates/df_order/order.html
界面效果: