Django:基础知识-创建模块

1. 创建项目

  django-admin startproject 项目名

 

2. 创建accounts模块

  python manage.py startapp app名

  models.py  #模块名

  views    #视图

  templates   #

 

posted @ 2021-08-23 16:32  文刀六日  阅读(189)  评论(0编辑  收藏  举报