Mastery Assessment: Routing & Views

Complete this assessment with 100% score to master this chapter.

01What is the architectural benefit of using `url_for('login')` instead of hardcoding `'/login'` in your templates?

02If you define two routes with the same URL but different HTTP methods, how does Flask's routing engine handle them?

03What is the purpose of the `to_python()` method in a custom Werkzeug URL Converter?