CheatsheetKit

Stack Bundle · Mid

Python / Django Developer Pack

Django's ORM, views, forms, admin and settings, plus Python language depth.

The Django-specific questions: ORM, migrations, middleware, signals and performance.

Questions
360
Topics
20
Pages
273

Get the Python / Django Developer Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. The Python object model
  2. Functions, scopes and comprehensions
  3. Iterators, generators and coroutines
  4. Exceptions and context managers
  5. Type hints, dataclasses and protocols
  6. itertools, functools and collections
  7. Project layout, settings and the server stack
  8. Model fields, options and Meta
  9. Relations, joins and query counts
  10. Querysets, filters and expressions
  11. Migrations and schema history
  12. Forms, validation and error handling
  13. Views, URLs and class based views
  14. Templates, autoescaping and context
  15. Middleware, requests and responses
  16. Authentication, permissions and security defaults
  17. The admin site and contrib apps
  18. Testing Django applications
  19. Caching, sessions and performance
  20. Signals, async and background work

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. When you read an attribute in Python, where does the interpreter actually look?
  2. Why do special methods have to be defined on the class rather than on the instance?
  3. Is Python pass by value or pass by reference?
  4. Why is a mutable default argument a bug?
  5. What two methods does a class need in order to be iterable?
  6. When does the body of a generator function actually run?
  7. Why is catching Exception usually the wrong choice in application code?
  8. What does raise ... from actually add to a traceback?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 273 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.