I already posted a longer answer,  which appears to have disappeared.  
However,  my controller was simply something like
def article():
   auth.wiki()

BTW if I start a commandline session like this:

python web2py.py -S myapp -M
>>> db.tables

Then none of my auth.wiki tables are defined.  Can I place something in a 
model which would force them to be defined.  Thanks.




On Thursday, October 18, 2012 6:59:49 PM UTC+1, Massimo Di Pierro wrote:
>
> Can I see your controller?
>
> On Thursday, 18 October 2012 12:11:21 UTC-5, villas wrote:
>>
>> I want to read the content of a wiki page into my view:  
>> views/mycontroller/mypage.html
>> using:  {{=auth.wiki(my-wiki-slug') }}
>>
>> auth.wiki is on a function in:   controllers/default.py
>>
>> If the wiki page is found then it works OK.
>> If the wiki page is not found,  then it redirects to:   
>> mycontroller/mypage/_create/my-wiki-slug
>>
>> This redirect does not go to the correct place. 
>>
>>

-- 



Reply via email to