Show Menu

Django Basics (Windows) Cheat Sheet Cheat Sheet (DRAFT) by

This Django Cheat Sheet contains the basics to create a project on a Windows system in the CMD terminal.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Set up virtual enviroment

> pyhton -m venv [venv_­name]
> [venv_­nam­e]­\Scr­ipt­s\a­cti­vat­e.bat
> pip install requir­eme­nts.txt

Creating a Django project

> python -m django startp­roject [project]
> python startapp [app]
> python create­sup­eruser
> python makemi­gra­tions
> python migrate
> python runserver