django application example
Example 1: start django project
django-admin startproject <//name of project\\>
Example 2: quick start django
pip install Django
django-admin startproject mysite
cd mysite
python manage.py runserver
Example 3: create new django app
python manage.py startapp app_name
Example 4: simple django app
python -m pip install Django
python3 -m django --version
python -m django --version
django-admin startproject your_project_name
django-admin startapp your_app_name
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
'your_app_name.apps.the_class_name_you_just_copied'