Is it possible to render from specific directory (which is template in this case) instead of template directory?
template
. ├── template/ ├── some_file.py