Chapter 3: Managing Django URLs
Currently, we just have a default landing page provided by Django. How do we create our own custom pages and have different URLs to route to them? In this chapter, we will discuss how Django URLs work. We will learn how to define URLs and link them to respective Django views. In this chapter, we will be covering the following topic:
- Understanding and defining Django URLs
Technical requirements
In this chapter, we will be using Python 3.8+. Additionally, we will be using the VS Code editor in this book, which you can download from https://code.visualstudio.com/.
The code for this chapter is located at https://github.com/PacktPublishing/Django-4-for-the-Impatient/tree/main/Chapter03/moviereviewsproject.
Understanding ...
Get Django 4 for the Impatient now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.