To move on, you should create an app folder as a package in Django. Here are the steps.
Create apps in Django
-
Firstly, in terminal, input this command
python manage.py startapp Newsapp(NOTICE: you can change “Newsapp” to any name you like).
-
And you will see the tree on the left of workbench as follows. You can find that it is approaching to MVC model.


本文介绍如何使用Django创建应用程序,包括终端输入命令创建应用包的过程,并展示了工作台左侧的应用文件夹结构,接近MVC模型。

1475

被折叠的 条评论
为什么被折叠?



