Skip to content

Add 'default' attribute to the 'map' filter #48

Closed
@flexferrum

Description

@flexferrum

Copied from the python Jinja2 issue:
pallets/jinja#557

It would be great if the map filter would return an optional default value if the attribute is not defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions