Page Routing

Learn how to modify the application in a way that it should only render the view if the provided route is valid.

About the application

We’ll look at some modifications in our main app.py module. This module is required to only render certain UI components when the route is valid. In case of any invalid route, the application will not get rendered and will show the user an error message along with a link that will redirect the user to the landing page.

This is what the application looks like:

Note: To log in, use the username admin and password 123.

Get hands-on with 1400+ tech skills courses.