can you call python functions from within a {% ... %} ?