Maru Kun

79%
Flag icon
The code phrases at ➋ and ➌ are called queries, because they query the database for specific information. When you’re writing queries like these in your own projects, it’s very helpful to try them out in the Django shell first. You’ll get much quicker feedback in the shell than you will by writing a view and template and then checking the results in a browser.
Python Crash Course: A Hands-On, Project-Based Introduction to Programming
Rate this book
Clear rating