Python Rendering Template Gives Jinja2 Exceptions Undefinederror

Python Rendering Template Gives Jinja2 Exceptions Undefinederror