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
Introduction
south
? The official documentation has instructions on how to use south, including methods that do not initialize the database and already have an existing databasedjango
’sapp
is the package or module ofpython
.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
ordjango-admin.py startapp appname