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.

Guess you like

Origin blog.csdn.net/Moses_SU/article/details/127633484