Skip to content
Justice Tech School

The Django Shell

Try queries interactively.

Example
python manage.py shell
>>> from blog.models import Post
>>> Post.objects.count()

Exercise

Open it.

manage.py 

Quiz Test

What is the shell good for?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.