How to Use the url_for Function in Flask With URL Converters

preview_player
Показать описание
Learn how to pass arguments in your app URLs using URL converters in Flask and build those URLs using the url_for function.

Having trouble building your Python app? I can help:

Рекомендации по теме
Комментарии
Автор

Thank you, I just found the way how to pass url args in the last minutes of the video.

krasen.dimkow
Автор

Thanks, direct to the point as usual!

guillaumesimler
Автор

is there any way to send an object through url_for() to an app route. In similar case you did for string and float but instead i'd like to use an object

yacine
Автор

thanks, but how do i pass them all at once ?
i'm trying to call url_for inside an html file, and the url is dynamic, so the passed variables vary from none up to 2 variables passed in the url
request.endpoint doesn't work as it doesn't contain the args
i know we can access them in the request.args variable, but the method (url_for) doesn't recognize them !

danibilel
Автор

Does anyone know how he is instantly updating the server so he doesn't have to refresh each time?

dwyt
visit shbcf.ru