Thanks, I got it now.
On Dec 14, 2010, at 14:10 , Bruno Rocha wrote:
> so, you need views inside /views/reports/.html
>
> 2010/12/14 Lorin Rivers
>
>> No, it's in reports.py, a controller.
>>
>> On Dec 14, 2010, at 13:37 , Bruno Rocha wrote:
>>
>>> if def test() is defined inside default
so, you need views inside /views/reports/.html
2010/12/14 Lorin Rivers
> No, it's in reports.py, a controller.
>
> On Dec 14, 2010, at 13:37 , Bruno Rocha wrote:
>
> > if def test() is defined inside default.py, the test.html should be in
> > /views/default/test.html
> >
> > 2010/12/14 Lorin
if your controller is named 'reports.py', you need this tree:
../views/reports/test.html
2010/12/14 Bruno Rocha
> if def test() is defined inside default.py, the test.html should be in
> /views/default/test.html
>
> 2010/12/14 Lorin Rivers
>
> I have an app "Debug", a controller "reports.py",
No, it's in reports.py, a controller.
On Dec 14, 2010, at 13:37 , Bruno Rocha wrote:
> if def test() is defined inside default.py, the test.html should be in
> /views/default/test.html
>
> 2010/12/14 Lorin Rivers
>
>> I have an app "Debug", a controller "reports.py", functions in that
>> contr
if def test() is defined inside default.py, the test.html should be in
/views/default/test.html
2010/12/14 Lorin Rivers
> I have an app "Debug", a controller "reports.py", functions in that
> controller "index" and "test" (plus a bunch of others).
>
> def index(): return dict(message="reports i
I have an app "Debug", a controller "reports.py", functions in that controller
"index" and "test" (plus a bunch of others).
def index(): return dict(message="reports index")
def test(): return dict(message="hello from reports.py")
In the directory structure ../views:
appadmin.html
/def
6 matches
Mail list logo