django create an app code example

Example 1: starting server in django

# to start a django server cd to dir with manage.py file and type following
python manage.py runserver

Example 2: django create app

python manage.py startapp # name of the app

Example 3: django create app command

python manage.py startapp app_name

Example 4: start new app in django

$ python manage.py startapp app_name

Example 5: start django project

django-admin startproject <//name of project\\>

Example 6: create django project

$ django-admin startproject mysite