Django(3) Create apps in Django

To move on, you should create an app folder as a package in Django. Here are the steps.

Create apps in Django

  1. Firstly, in terminal, input this command python manage.py startapp Newsapp (NOTICE: you can change "Newsapp" to any name you like).

    Django(3)_Create_apps_in_Django_1.png

  2. And you will see the tree on the left of workbench as follows. You can find that it is approaching to MVC model.
    Django(3)_Create_apps_in_Django_2.png

So far, you have created an app folder as a package in Django. Hopefully, it helps.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 2,723评论 0 3
  • 英文文档,一开始我也是抗拒的,边翻译边看,也就花费了1个小时基本就阅读过了,我的英文基础其实很差。附上链接:链接:...
    lonecolonel阅读 10,004评论 3 1
  • By clicking to agree to this Schedule 2, which is hereby ...
    qaz0622阅读 1,483评论 0 2
  • 感恩今天自己真的在无理由的喜悦,感恩前两天的清理,让我越来越通透了,谢谢谢谢谢谢 感恩每天零购让我轻松的进账,感恩...
    富足的开心的宝贝阅读 175评论 0 0
  • 曾经看过一本书,上面提到看问题要看问题的重点,而且要把问题明确化和细化。 如果把问题改成写作,是不是也有异曲同工之...
    痞马阅读 743评论 0 1