Django Starter Lab · Lesson 3 of 10

URLs, Views, and Page Routing

Follow a request from a web address to the Python code that decides what the user sees.

Academy Plus 4 practice exercises 1 homework item

What you will learn

  • Explain what a URL route is at a beginner level.
  • Describe what a Django view does.
  • Trace the flow from browser request to URL pattern to view to response.
  • Explain why project-level and app-level URL files can both be useful.
  • Match simple page paths to the view logic that should answer them.
  • Avoid common routing mistakes such as typos, wrong URL files, and unconnected views.

Lesson shape

20 minute lesson with 8 sections, 4 exercises, 4 checkpoint questions, and 1 homework submission.

This track requires the Academy Plus plan.

Lesson outline

What this lesson includes

This lesson is available with the Academy Plus membership. Create an account to open the full student player, exercises, quiz, and completion tracking.

Overview

From organized files to moving requests

Full lesson content unlocks in the student player.

Explain

What a URL route is

Full lesson content unlocks in the student player.

Explain

What a view is

Full lesson content unlocks in the student player.

example

Worked example: a simple route and view

Full lesson content unlocks in the student player.

example

The basic routing flow

Full lesson content unlocks in the student player.

Explain

Project URLs and app URLs

Full lesson content unlocks in the student player.

Practice

Common routing mistakes

Full lesson content unlocks in the student player.

Wrap up

Misconceptions to avoid

Full lesson content unlocks in the student player.

Homework

Assignments attached to this lesson

Text response

URLs, Views, and Page Routing: quick check

Write a short beginner explanation of the main idea from URLs, Views, and Page Routing.

Not started

Open homework