---
# System prepended metadata

title: cheatsheet
tags: [learning notes, ' Django']

---

---
title: cheatsheet
tags: learning notes, Django
---

## Django
| commend | utility | commend | utility | 
|:--------: | -------- | :--------: | -------- | 
|check|Checks the entire Django project for potential problems.|runserver|Starts a lightweight Web server for development.|
|compilemessages| Text     |sendtestemail| Text     |
|createcachetable| Text     |shell|Runs a Python interactive interpreter. Tries to use IPython or bpython, if one of them is available. Any standard input is executed as code.|
|dbshell| Text     |showmigrations| Text     |
|diffsettings| Text     |sqlflush| Text     |
|dumpdata| Text     |sqlmigrate|Prints the SQL statements for the named migration.|
|flush| Text     |sqlsequencereset| Text     |
|inspectdb| Text     |squashmigrations| Text     |
|loaddata| Text     |startapp|Creates a Django app directory structure for the given app name in the current directory or optionally in the given directory.|
|makemessages| Text     |startproject|Creates a Django project directory structure for the given project name in the current directory or optionally in the given directory.|
|makemigrations|Creates new migration(s) for apps.|test|Runs tests for all installed apps.|
|migrate|Updates database schema. Manages both apps with migrations and those without.|testserver| Text     |


