django extensions shell code example
Example 1: install django-extensions
pip install django-extensions
Example 2: python print sql in shell_plus
python manage.py shell_plus --print-sql
pip install django-extensions
python manage.py shell_plus --print-sql