Variable types that can be accepted by routes include:
string: Accepts any text that does not begin with a slash (the default).
integer: This type accepts integers.
float: Accepts decimal numbers with decimal points.
path: Similar to a string, but with the exception that it permits slashes.
App Routing is the process of mapping URLs to a specific function that will handle the URL's logic. To assist consumers remember URLs and make navigation easier, modern web frameworks utilise more meaningful URLs. We utilise the app to bind a function to a URL path.
Route parameters are a way to pass data from the URL to the endpoint. Route parameters can be used as a query string or as a part of the path. The route parameters in Python Flask are defined by using a colon (:) followed by an identifier. The identifier is then passed to the endpoint as a variable.
There are two types of route parameter passing:
The first is the param object that is passed to an action, this param object includes all the parameters that have been declared in the route.
The second type of parameter passing is when you specify a named parameter in an action, this allows for more flexibility and cleaner code.
ma'am this session is very well ma'am please prove Django
Very good teching Thank You mam
Great learning experience, can we get the slides used in the lecture ?
Good platform to learn
Er Komal Gupta
very nice understandable....thanku mam
Ayush Kumar Tatia
Mam genuinely thankyou for making it so good , Bhagwaan aapko bhot aage le jaaye , rich log aapke content dekh ke certificate le , i truly wish 😊, mae hi baad mae pay krunge because i be rich futur😊
This is the best course. The way of teaching really appreciable. I would like to watch next course of Rupal Shah like Django if She makes a course in Django with this much details.