Thanks for the tips Anthony!

After  I added the groups wiki_editor and wiki_author and put my
signon into those groups, the wiki started working (it appears I have
a bit more to learn about how the wiki works now that it's working),  but
I thought I was administrator at the time and it didn't automatically
set up those groups.

I think a one-sentence additional comment in default.py should mention
these additonal requirements.  (or refer to the documentation in the
manual).

(And yeah, the underscore in "auth_wiki()" was just a posting typo, of 
course)

Rufus



On Saturday, May 17, 2014 9:58:27 AM UTC-4, Anthony wrote:
>
> From the book:
>
> At this point no page has been created and in order to create pages you 
>> must be logged-in and you must be member of a group called "wiki_editor" or 
>> "wiki_author". If you are logged-in as administrator the "wiki_editor" 
>> group is created automatically and you are made a member.
>>
>
> Also, it's auth.wiki() rather than auth_wiki().
>
> Anthony
>
> On Saturday, May 17, 2014 2:27:49 AM UTC-4, Rufus wrote:
>>
>> I wanted to create a wiki on PythonAnywhere, so I did the most 
>> straightforward thing.
>> I went to my site manager, said create simple app.   MyWiki.
>>   
>> edited default.py and changed the index controller to:
>> return auth_wiki()
>>
>> save and view
>>
>> got:
>>
>> 401 UNAUTHORIZED
>>
>> any clues?
>>
>>
>>

-- 
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