Django Cheat Sheet Command Page

Posted on

This is a cheat sheet command page for using or developing a web-based application using Django framework.

To create a new Django project :

django-admin startproject project_name

To create a new Application or Module in the newly created Django project :

django-admin startapp app_name

To run a local server for displaying the Django framework in the local browser :

python runserver

To create a migration based on the changes made on the model :

python makemigrations

To apply certain migrations :

python migrate

To create a super user account :

python createsuperuser

Leave a Reply