11.2. Manage Database

  • python manage.py dbshell

  • python manage.py makemigrations

  • python manage.py migrate

11.2.1. dbshell

$ python manage.py dbshell

11.2.2. inspectdb

  • Reverse engineering database

$ python manage.py inspectdb

11.2.3. makemigrations

$ python manage.py makemigrations

11.2.4. migrate

$ python manage.py migrate