pip install django
django-admin startproject projectname
python manage.py startapp appname
settings.py
file, you can use the default SQLite database or any other database of your choice.models.py
file in the app folder and defining classes for each model.views.py
file in the app folder and defining functions for each view.templates
folder in the app folder and creating HTML files for each view.urls.py
file in the app folder and defining URLs for each view.python manage.py makemigrations
and python manage.py migrate
python manage.py runserver
python manage.py test appname
where appname
is the name of the app you want to test.