I'm very new to this library and the first question I have in mind (you may find it trivial): is there any flexible way to extend the list of features from https://github.com/mahmoud/ashes#compatibility?
More specifically, I am thinking about a way to inject external functions. If comfortable with the context, something similar to the Jinja filters. E.g.:
context.register_feature('virtual_name', feature_function_name)
And use the feature as virtual_name inside the template.
Is this currently possible or on the roadmap?
Thanks,
Mircea
I'm very new to this library and the first question I have in mind (you may find it trivial): is there any flexible way to extend the list of features from https://github.com/mahmoud/ashes#compatibility?
More specifically, I am thinking about a way to inject external functions. If comfortable with the context, something similar to the Jinja filters. E.g.:
And use the feature as
virtual_nameinside the template.Is this currently possible or on the roadmap?
Thanks,
Mircea