New Listing Form
Learn how to add the URL path and create a form for the Listing page.
We'll cover the following
Now that all the listings that we created in the admin panel are being displayed, we can go ahead and make a form for users to enter their own listings.
Follow the same process that we used for creating the Homepage: URL, Form, View, then Template. As you can see, we have added “Form” to the usual page creation process.
New Listing URL path
To add the path to the New Listing page, the following line of code is added in the urls.py in the app’s folder.
Get hands-on with 1400+ tech skills courses.