Basics

Base environment setup

Simply install the Django package.

$ python -m pip install Django

Creating a project

$ django-admin startproject <your project name>

Creating an app inside a project

A django project is usually split into multiple components, i.e. apps.

Your django project should have the python file manage.py on project root.

$ python manage.py startapp <your app name>

Revision #2
Created Sat, Aug 22, 2020 4:10 PM by Diane
Updated Sat, Aug 22, 2020 5:15 PM by Diane