Skip to main content

Build on the basics · 11 steps

Python backend foundations

Connect Python concepts, SQL, framework choices, a Django integration, and scaling decisions using our published guides.

Start with the first step and work at your own pace.

Start the path →

Enable JavaScript to mark steps complete. All lessons are available below.

Before you start

You can write Python functions and understand lists, dictionaries, and classes. The integration step also assumes basic Django and HTTP knowledge.

What you’ll work toward

Explain how a Python backend handles data and requests, and identify the next skills to practise in a project.

Your learning sequence

11 steps · Work at your own pace
  1. 9 min read

    Check your Python foundations

    Explain mutability and write a small example that demonstrates it.

    Read the guide ↗
  2. 6 min read

    Work with decorators and generators

    Write a generator for a large sequence and explain when it saves memory.

    Read the guide ↗
  3. 6 min read

    Connect related data with SQL

    Sketch two related tables and predict the result of an INNER JOIN and a LEFT JOIN.

    Read the guide ↗
  4. 8 min read

    Reason about database indexes

    Choose an index for a query and explain its cost for writes.

    Read the guide ↗
  5. 9 min read

    Compare Python backend frameworks

    Choose a framework for a small application and justify the trade-offs.

    Read the guide ↗
  6. 5 min read

    Study a Django integration

    Advanced reading: trace server-created orders, signature verification, and payment reconciliation. List the failure cases you would test.

    Read the guide ↗
  7. 7 min read

    Identify the next bottleneck

    Draw a simple deployment and name the measurement that would justify changing it.

    Read the guide ↗
  8. 4 min read

    Build a Django Task Tracker, Part 1: Models and Migrations

    Inspect the task model and explain its owner relationship and migration.

    Read the guide ↗
  9. 6 min read

    Build a Django Task Tracker, Part 2: Forms, Login and Ownership

    Use two accounts to verify task privacy, then test invalid form input.

    Read the guide ↗
  10. 6 min read

    Build a Django Task Tracker, Part 3: Test Permissions and Failure Cases

    Run the nine example tests and explain which regression each protects.

    Read the guide ↗
  11. 6 min read

    Build a Django Task Tracker, Part 4: Deploy with Gunicorn and Caddy

    Draw the proxy-to-application request flow and verify a local deployment configuration.

    Read the guide ↗
← Explore other paths