July 2018
Intermediate to advanced
324 pages
8h 14m
English
On the HTTP GET request, we would render the template todo/list.html with a context that would include the form instance, list of todo data, and todos count. As described in the preceding code snippet, we get the user-related todo data such as current_user.todos and filter the data using list compensation. Then, we prepare the context and pass it to the render_template method to display the data in HTML.
Read now
Unlock full access