Actually I did found a couple of more typos in the code example and I
have fixed them now.

Also it is important that before you create posts using appadmin, you
create an account and login in your application, else the posts have
no author. This was designed to mimic the Django app referenced in
text, therefore many checks that I would normally do are skipped.

Massimo

On Dec 29, 5:01 pm, mdipierro <[email protected]> wrote:
> Ouch! You found a typo.
>
> This line
>
>     def view_post(request, post_id):
>
> should be
>
>     def view_post():
>
> I fixed it in the AlterEgo page. I hope this was the only typo. Sorry
> about this.
>
> On Dec 29, 4:10 pm, Jesper Mouritzen <[email protected]>
> wrote:
>
> > Hi,
>
> > I was going through the "Crash course in web2py" found 
> > onhttp://www.web2py.com/AlterEgo/default/show/253/1. After the "Adding
> > Views" part I get a invalid function message when clicking on a blog
> > post and I was wondering what lies beneath this error. Is invalid
> > function covering for a 404 or something different?
>
> > regards,
>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.


Reply via email to