Listings View and Database Queries
Learn how to add the path to the listings page, add code for the listings view, and interpret different database queries.
We'll cover the following
Let’s continue building our website by creating a Listings page that will display the listings that we create. To do this, we’ll create a URL, a view, and a template.
Listings URL path
You can see the urls.py opened in the following widget. We added the path to the listings page in line 11. We called it all_listings
here, but you can choose your own names.
Get hands-on with 1400+ tech skills courses.