Re: [web2py] Re: support for list comprehensions and enumerate in template language

2012-08-06 Thread Andreas Christoffersen
Thanks for confirming this. Sincerely Andreas On Mon, Aug 6, 2012 at 4:34 PM, Anthony wrote: > web2py doesn't really have a separate template language -- it's just pure > Python. So yes, you can use list comprehensions. See > http://web2py.com/books/default/chapter/29/5#The-views for details. >

[web2py] support for list comprehensions and enumerate in template language

2012-08-06 Thread Andreas Christoffersen
I just ran my head agains jinja2... Does web2py template language support list comprehensions? Sincerely --

Re: [web2py] default layout.html error (or just me)

2012-02-07 Thread Andreas Christoffersen
=URL("show", args=image.id)))}}$ Sorry again. On Tue, Feb 7, 2012 at 8:36 PM, Bruno Rocha wrote: > you are missing {{ or }} somewhere in view > > > On Tue, Feb 7, 2012 at 5:26 PM, Andreas Christoffersen < > achristoffer...@gmail.com> wrote: > >> >>

[web2py] default layout.html error (or just me)

2012-02-07 Thread Andreas Christoffersen
Hi group, I am trying to build the simple image blog from the web2py book chapter 3. As far as I can see I have reentered the example code to the letter - but still I get an error (which I think stems from layout.html?) (using latest web2py on mac) Traceback (most recent call last): File "g

Re: [web2py] Re: How to port this simple game to a web2py app?

2011-10-25 Thread Andreas Christoffersen
Thanks. But the thing is that I don't know for sure how many "chapters" I'll recieve - but It will be more then I'd like to create manually. Also - I might want to keep adding features to this. E.g. a breadcrumb trail, or a counter showing how many different paths the user has taken, and how many

[web2py] How to port this simple game to a web2py app?

2011-10-22 Thread Andreas Christoffersen
Hi Group, I've been looking for an excuse to get started with web and python. Finally I thought up this little game for a friend, but how to port it to web2py? The game is like one of those old adventure books. There is a story, but at some point the player must decide on an action. For each opti

Re: [web2py] R: Upload & Install packed application on FluxFlex - Error500

2011-09-23 Thread Andreas Christoffersen
Hi guys, This is funny - I don't even get an error message - I just get a browser crash (chromium on debian, chrome-dev on mac, safari on mac). Has anybody heard from fluxflex about this? Sincerely Andreas (first post here - w) On Fri, Sep 2, 2011 at 9:02 AM, Yota Ichino wrote: > Foresto,