March 2020
Intermediate to advanced
608 pages
17h 17m
English
The difference between a normal Python shell and the Django shell is that when you run the Django shell, manage.py sets the DJANGO_SETTINGS_MODULE environment variable so that it points to the project's settings.py path, and then all of the code in the Django shell is handled in the context of your project. With the use of the third-party IPython or bpython interfaces, we can enhance the default Python shell further, with syntax highlighting, autocompletion, and more.