Skip to content

Dumping the current context in a template? #370

@wrouesnel

Description

@wrouesnel

Is there a way to have a template emit the entire current pongo2 context map as input to a filter?

i.e. I'd like to be able to {{ context | to_json }} or something in my templates for debugging?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions