how to add app in django

Terminal
======
erp@erp-Pegatron:~/mysite$ python manage.py startapp blog

erp@erp-Pegatron:~/mysite$ tree
.
|-- blog
|   |-- admin.py
|   |-- __init__.py
|   |-- migrations
|   |   `-- __init__.py
|   |-- models.py
|   |-- tests.py
|   `-- views.py

|-- db.sqlite3
|-- manage.py
`-- mysite
    |-- __init__.py
    |-- __init__.pyc
    |-- settings.py
    |-- settings.pyc
    |-- urls.py
    |-- urls.pyc
    |-- wsgi.py
    `-- wsgi.pyc

3 directories, 16 files


Note: here red one is to enter and blue one is came 

No comments:

Post a Comment