Using multiple views in one page

Hello. How can I use multiple views in one pages(In one html file)

You don’t.

A view receives a request and returns a response.

In the common case, a view can render a template using a context to build that response.

The view can call multiple functions to obtain data to add to the context.

The template can include multiple templates to render the response.

But overall, it’s just one view being called for the request.

1 Like