On 5/30/06, cnu <[EMAIL PROTECTED]> wrote:
>
> I tried the 20 minutes wiki using TurboGears 0.9a6.
> I create a new page named FrontPage as in the 3rd page of the tutorial.
> But after that when I refresh the page, I get

Does your index method look like it does on page 2 of the tutorial?
http://www.turbogears.org/preview/docs/tutorials/wiki20/page2.html

Specifically, it should be returning page in the dict() at the end:
    @expose("wiki20.templates.page")
    def index(self, pagename="FrontPage"):
        page = Page.byPagename(pagename)
        content = publish_parts(page.data, writer_name="html")["html_body"]
        return dict(data=content, page=page)

Those are the values that get plugged into the template.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to