Adding templates dir in python