I FINALLY GOT THE RENDERING FROM TEMPLATETOOLKIT WORKING