This document provides a 3 sentence cheat sheet for common Django commands. It outlines how to create a new Django project and app, start the development server, make database migrations, migrate the database, create a superuser for the admin panel, and collect static files.
This document provides a 3 sentence cheat sheet for common Django commands. It outlines how to create a new Django project and app, start the development server, make database migrations, migrate the database, create a superuser for the admin panel, and collect static files.
This document provides a 3 sentence cheat sheet for common Django commands. It outlines how to create a new Django project and app, start the development server, make database migrations, migrate the database, create a superuser for the admin panel, and collect static files.
django-admin startproject projectname Add an app to a project python3 manage.py startapp appname Starting the server python3 manage.py runserver Creating migrations python3 manage.py makemigrations Migrate the database python3 manage.py migrate Creating a Super User for the admin panel python3 manage.py createsuperuser Collecting static files into one folder python3 manage.py collectstatic