how to print all details of table in python console from django admin code example Example: django shell python manage.py shell