Massimo I saw within template.py and he have a import to a external file ( 
_compat.py ) it's get just template.py, really?

Em quinta-feira, 18 de agosto de 2016 16:37:47 UTC-3, Massimo Di Pierro 
escreveu:
>
> Or simply copy the gluon/template.py where you want it, import it, than 
> from template import render, etc.
>
> On Wednesday, 17 August 2016 06:28:05 UTC-5, Marlysson Silva wrote:
>>
>> You are importing starting of gluon or just file template.py from gluon?
>> Based in documentation you have just import standalone file template.py 
>> from gluon :| .
>>
>> Em terça-feira, 16 de agosto de 2016 20:51:04 UTC-3, billy...@gmail.com 
>> escreveu:
>>>
>>> Coming trying out different framework and really love web2py. The 
>>> template language is very simple. how do I use it in different framework?
>>>
>>> Trying to replace jinja2 template with web2py template.
>>>
>>> import template seem to doesn't work with default jinja2 template 
>>> language the framework assumes.
>>>  
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to