Thanks Anthony. This has been bothering me for ages because I couldn't
decide where to put the python code. Much appreciated.
On Wednesday, 4 July 2012 14:10:02 UTC+1, Anthony wrote:
>
> Thanks for that but it doesn't really answer my question. When I return
>> dict(results=results), I want to p
>
> Thanks for that but it doesn't really answer my question. When I return
> dict(results=results), I want to pass that to a script, lets say
> 'process.py' to tokenize it etc. My question is: Do I create a new
> controller called process.py (which won't have a corresponding HTML page),
> or
Hi Massimo,
Thanks for that but it doesn't really answer my question. When I return
dict(results=results), I want to pass that to a script, lets say
'process.py' to tokenize it etc. My question is: Do I create a new
controller called process.py (which won't have a corresponding HTML page),
or
>
>
> index.html:
>
>
> MY SEARCH ENGINE
>
>
>
>"100px">
>
>
>
>
>
>
>
> results.html
>
> {{extend 'layout.html'}}
> This is the default/results.html template
> {{=BEAUTIFY(response._vars)}}
>
>
> {{=results}}
>
> default.py:
>
> import urllib
>
>
> d
4 matches
Mail list logo