Once again, be advised that the following step should be operated under virtual environment.


Creating The First Project With an Application

Command : django-admin.py startproject (ProjectName)

(django-venv) ~/django-tutorial$ django-admin.py startproject Opensource

after this command, django will create a folder named by your (ProjectName).

(django-venv) ~/django-tutorial$ cd Opensource

Tree Directory will shows:

Opensource/                     (Project Folder)
   ├─ manage.py                 (Django Python Console)
   ├─ Opensource/               (Porject Settings)
   │   ├─ __init__.py      
   │   ├─ settings.py      
   │   ├─ urls.py      
   │   └─ wsgi.py
   │
   ├─ System/                   (Application)
   │   ├─ migrations/
   │   │   └─ __init__.py
   │   │
   │   ├─ __init__.py
   │   ├─ admin.py
   │   ├─ apps.py
   │   ├─ models.py
   │   ├─ tests.py
   │   └─ views.py
   │
   ├─ opensource_01/            (Application)
   │   ├─ migrations/
   │   │   └─ __init__.py
   │   │
   │   ├─ __init__.py
   │   ├─ admin.py
   │   ├─ apps.py
   │   ├─ models.py
   │   ├─ tests.py
   │   └─ views.py
   │
   .
   .
   .
   .
   .
   │
   │
   └─ opensource_XX/            (Application)
       ├─ migrations/
       │   └─ __init__.py
       │
       ├─ __init__.py
       ├─ admin.py
       ├─ apps.py
       ├─ models.py
       ├─ tests.py
       └─ views.py

results matching ""

    No results matching ""