Which is the correct way to apply the following custom-made filter inside a template to get the value of ?
@app.template_filter("exponent") # add this to the top of the filter function
def power(number,y): #filter function
return number**yWhich is the correct way to apply the following custom-made filter inside a template to get the value of ?
@app.template_filter("exponent") # add this to the top of the filter function
def power(number,y): #filter function
return number**yCreate a free account to access the full topic