Skip to content

Change data in context on ModelView before template rendering #912

Open
@sergey-vasiliev-dualboot

Description

Checklist

  • There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.

I want to add some information on the Details page. So, for easy templating, I use ModelView and a custom template. But I didn't find a way to add some additional data to this template.
I saw I can use BaseView, but it's not good because I must duplicate some of the methods that already exist in ModelView.

Describe the solution you would like.

I would like to write some internal perform methods to edit or add some data to the context before the template is rendered

Describe alternatives you considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions