How to run Django in a command line terminal

Let’s say, for example, that you want to manually add certain objects without using the admin, or need to quickly check a function without creating unit tests for it. In that case, you will need to run Django-specific commands from a python shell. If you import django or use django-admin.py shell, you will probably hit […]