MAC下 下载了south并且安装了,如何在pychram的django项目中引入south APP并调用south。还有,我想增加几个APP,在pycharm中如何新建APP。。。没找到啊..附上图片:
伊谢尔伦2017-04-17 13:25:15
Introductionsouth
? The official documentation has instructions on how to use south, including methods that do not initialize the database and already have an existing database
django
’s app
is the package or module of python
.
Just create a new folder and corresponding files directly. The folder name is appname
The folder contains at least __init__.py
,views.py
,models.py
.
The remaining test.py
,url.py
can be added as needed.
Of course, you can also use pycharm to open the terminal.
Run python manage.py startapp appname
or django-admin.py startapp appname