9/18/2019 - 4:01 AM

Getting started with Django

Getting started with Django


pip install Django==2.2.5

Start Your First Project

django-admin startproject FirstProject

Add an app to a project

python startapp appname

Starting the server

python runserver

Creating migrations

python makemigrations

Migrate the database

python migrate

Creating a Super User for the admin panel

python createsuperuser

Collecting static files into one folder

python collectstatic