[web2py] Re: email form into database table.

2010-05-06 Thread annet
Massimo, You can insert them and have a flag (Field) called appreoved which default to false. Than you can send yourself an email with a link to a page so that by just clicking on the link you approve it. I implemented this and gave it a try, just what I was looking for. Thanks. Kind

[web2py] Re: Data table

2010-05-06 Thread annet
Hi Sverre, I am using Allan Jardine's DataTables: http://www.datatables.net/ Regards, Annet.

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
m..no this does not follow the rule that child, that is progeny, or further down the timeline is the last to affect output. It did bring up some issues, and made me think about a few more things. I'm still thinking out loud. Here's where I think this is now. I still need to think

[web2py] Re: Caching downloads

2010-05-06 Thread Iceberg
It seems Mariano's story has a happy ending. Congratulations. But on a second thought, can anyone explain why if you quickly reload pages, they fail in the very first caching-download version? Caching download can improve speed, can with a side effect of bypassing priviledge check, but no matter

[web2py] Re: Wiki example from book on gae

2010-05-06 Thread nic
Is anyone else having this problem ? perhaps it is just me and I have done something wrong ! Should I make a comment in the book ? On May 3, 9:30 am, nic nicats...@gmail.com wrote: Hi Massimo, Yes, I still get the error if I comment the line web2py version is 1.77.3

[web2py] Problem with multiple forms

2010-05-06 Thread Sverre
I'm using this design in a controller to have buttons on the page: form_membership = FORM('', INPUT(_type='submit',_value='New')) form_back = FORM('', INPUT(_type='submit',_value='Back to user')) if form_back.accepts(request.vars, session):

[web2py] Re: Data table

2010-05-06 Thread Sverre
On 6 Mai, 08:25, annet annet.verm...@gmail.com wrote: Hi Sverre, I am using Allan Jardine's DataTables:http://www.datatables.net/ Regards, Annet. This table is looking very nice. Thank you.

[web2py] Re: Erro in conditional IS_IN_DB() validator

2010-05-06 Thread Leandro - ProfessionalIT
Friend, I don't know, but I think that this problem can be a bug, because run OK in SQLite but generate this errors in GAE. In my case, I'm using the crud.create() to generate the input FORM then I do not know why the orderby is being called. In db.py I have this field in the table

[web2py] Re: error in import pyserial

2010-05-06 Thread frankz
How can i fix this? for wintypes, i put the ctypes folder under site- packages, it doesn't make any change. Same thing after I put wintypes directly under site-packages. I also restart the web2py. Is there any generic way to import packages? like pyserial, it has a package name - pyserial-2.5-rc2,

Re: [web2py] to Tim Farrell

2010-05-06 Thread Timothy Farrell
Let's talk more about this off-list. -tim On 5/5/2010 5:02 PM, elffikk wrote: hi, this is not related to web2py, just to rocket I just got trac running with Rocket. Performance is great! But one thing that I need is authentication using at least basic auth, since trac is relying on web server

[web2py] Re: error in import pyserial

2010-05-06 Thread frankz
Paraneeth How does pyserial work for you? can you provide details? which platform? I tested on linux machine and confirmed pyserial works. Just curious how can it be done on windows. thanks, On May 6, 8:56 am, frankz frank.zhu.min...@gmail.com wrote: How can i fix this? for wintypes, i put the

[web2py] Re: Caching downloads

2010-05-06 Thread mdipierro
Can you provide an example of code that causes cache failure? Remember that you cannot @cache def download because of range requests. On May 6, 2:49 am, Iceberg iceb...@21cn.com wrote: It seems Mariano's story has a happy ending. Congratulations. But on a second thought, can anyone explain why

[web2py] Re: Problem with multiple forms

2010-05-06 Thread mdipierro
If you have two forms you have to name them: if form_back.accepts(request.vars, session, formname='back'): ... if form_membership.accepts(request.vars, session,formname='membership'): On May 6, 7:19 am, Sverre sverreodeg...@gmail.com wrote: I'm using this design  in a controller to have buttons

[web2py] New to web app development -- is web2py a good choice

2010-05-06 Thread Anthony
I am brand new to web application development, and I'm looking for a good web framework to learn in order to build a new web application (sort of a personal task/project management system). I want it to look (and act) like a serious, polished, state-of-the-art Web 2.0 site/app (i.e., not

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread mdipierro
Other users should answer this question but I will add some comments On May 6, 12:37 am, Anthony av201...@yahoo.com wrote: I am brand new to web application development, and I'm looking for a good web framework to learn in order to build a new web application (sort of a personal task/project

[web2py] two new apps

2010-05-06 Thread mdipierro
http://web2py.com/appliances/default/show/61 by Gabri Mate http://web2py.com/appliances/default/show/60 by José de Soto García.

[web2py] Re: Erro in conditional IS_IN_DB() validator

2010-05-06 Thread mdipierro
please email me a minimalist code to reproduce the problem and I will try it? Do you get the error only on GAE or also on dev_appserver? On May 6, 7:47 am, Leandro - ProfessionalIT lsever...@gmail.com wrote: Friend,    I don't know, but I think that this problem can be a bug, because run OK

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread Chris S
I've heard it said that the documentation for web2py isn't as good as some other options. I'm not sure if that's true with the new revisions to the available online book, but I am sure anyone saying that does not utilize this group. I've never seen support for anything as good as this google

[web2py] Is GAE worth using

2010-05-06 Thread mike
From my past experiences i have found GAE a little slow, is this just me? With web2py development what has the community found with deploying to GAE.

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread Patrick
On May 6, 12:37 am, Anthony av201...@yahoo.com wrote: I am brand new to web application development, and I'm looking for a good web framework to learn in order to build a new web application (sort of a personal task/project management system). I want it to look (and act) like a serious,

[web2py] Re: Is GAE worth using

2010-05-06 Thread mdipierro
My experience is that GAE is fine if you need to store many chunks of data (like wiki page) with very little relations to each other (no complex references), retrieve them by key/id (no complex queries) and are planning to have a lot of concurrent requests/second for that data. GAE is slow but it

[web2py] ORM-like DAL

2010-05-06 Thread vihang
Hello, A long time back, someone (mostly probably massimo) had written a few lines of code showing how DAL could be extended to be used in class, and effective like ORM. I have spent a lot of time searching for this on this group, but unable to find it. Any help would be appreciated. Thanks

[web2py] Re: ORM-like DAL

2010-05-06 Thread mdipierro
I think you refer to this: http://web2py.com/AlterEgo/default/show/189 On May 6, 9:50 am, vihang vihan...@gmail.com wrote: Hello, A long time back, someone (mostly probably massimo) had written a few lines of code showing how DAL could be extended to be used in class, and effective like ORM.

[web2py] Ajax examples not working for me

2010-05-06 Thread Zhe Li
Hi, I am new to web2py and it is a fantastic framework! The online book is quite helpful until this week. I tried two AJAX examples but none of them works and I don't have a clue what went wrong there. First one is the wiki example: - def search(): an ajax

[web2py] Re: Ajax examples not working for me

2010-05-06 Thread mdipierro
To help us debug this... can you try with firefox? can you also try with the firebug extension? I will log the ajax requests so you can see if there is an error? On May 6, 10:01 am, Zhe Li linuxcity...@gmail.com wrote: Hi, I am new to web2py and it is a fantastic framework! The online book is

[web2py] Top 3 web2py features

2010-05-06 Thread Álvaro Justen [Turicas]
Hi folks, I'm writing an article to a brazillian technology magazine about web2py but I have limited space, so I need to write what are the most important and kill-features of the framework. I've opened this thread to listen to you, users, what do you think that are the better features, the

[web2py] Re: Top 3 web2py features

2010-05-06 Thread mdipierro
It depends whether you want the most useful fetaures or the unique features. I would go with unique features: 1) backward compatibility (implies we try not to break your code) 2) ticketing system (implies easy to debug errors in production) 3) web based IDE for development, testing, debugging,

Re: [web2py] Top 3 web2py features

2010-05-06 Thread Vasile Ermicioi
1 . DAL - automatic migration - easy of use : querying, modifying - very lightweights - form and crud generation 2. Fast app creation: - no external dependencies (except python) - web interface for creating/editing apps (including editing controllers, views, and all files) - runs as it is on GAE,

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread Mengu
This was true until the book went online. Now, web2py have a great documentation. Other than that, anything that a beginner might ask can be found in the mailing list. On 6 Mayıs, 17:07, Chris S sanders.ch...@gmail.com wrote: I've heard it said that the documentation for web2py isn't as good as

Re: [web2py] Re: Top 3 web2py features

2010-05-06 Thread Thadeus Burgess
1) DAL ( like SQL, runs almost anything, very logical and natural if you are used to writing pure SQL all the time ) 2) All in one package (batteries included) 3) Simplicity. -- Thadeus On Thu, May 6, 2010 at 10:33 AM, Jonathan Lundell jlund...@pobox.com wrote: On May 6, 2010, at 8:28 AM,

Re: [web2py] Re: ORM-like DAL

2010-05-06 Thread Thadeus Burgess
I frankly remember a guy posting something (github?) that makes an ORM for the DAL, and it was a class you could almost put any kind of database to it. I too have been curious where this snippet of code ran off too. -- Thadeus On Thu, May 6, 2010 at 9:53 AM, mdipierro

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
Ok. But the purpose of layout.html is to define the layout. It is effectively the parent who pays for the house and determines what room the child gets. I don't think I am quite fully grasping the concept that you have. Could you provide me with a code example of how you would like it to look,

[web2py] Re: Is GAE worth using

2010-05-06 Thread waTR
GAE is useless without being able to use MapReduce...without MapReduce you cannot do any relationships with tables of any significant size. I get this opinion from ex-googlers. On May 6, 7:47 am, mdipierro mdipie...@cs.depaul.edu wrote: My experience is that GAE is fine if you need to store

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 10:59 am, Thadeus Burgess thade...@thadeusb.com wrote: Ok. But the purpose of layout.html is to define the layout. It is effectively the parent who pays for the house and determines what room the child gets. I think that is the wrong metaphor: When you are handed the keys (called

[web2py] Re: blocks in template

2010-05-06 Thread mdipierro
Yarko, I just remind you my attention span is 5 lines top. ;-) Good that Thadeus seems to be able to read further down. On May 6, 12:02 pm, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On May 6, 10:59 am, Thadeus Burgess thade...@thadeusb.com wrote: Ok. But the purpose of layout.html is

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
But default/index.html does choose its builder! By {{extends}} it CHOOSES to be included inside of layout. It does not have to, it can extend any other template, or none at all! The choice is up to the originally called template. By {{extends}} the template decides that it will subjugate itself

[web2py] CNN Need a job? Contract work could be new normal

2010-05-06 Thread mdipierro
http://www.msnbc.msn.com/id/36826679/ns/business-careers/

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 12:14 pm, Thadeus Burgess thade...@thadeusb.com wrote: But default/index.html does choose its builder! By {{extends}} it CHOOSES to be included inside of layout. I don't think that is a useful metaphor - in fact, I don't believe it is strictly correct: to choose to be in layout, YOU

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 12:24 pm, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On May 6, 12:14 pm, Thadeus Burgess thade...@thadeusb.com wrote: But default/index.html does choose its builder! By {{extends}} it CHOOSES to be included inside of layout. I don't think that is a useful metaphor - in

[web2py] Re: Is GAE worth using

2010-05-06 Thread mdipierro
What it really needs in my view is 1) remove the limit of 1000 records/select 2) provide real full text search (what users expect when they think of google and the one thing that they do not provide. You can do it with hacks but I do not believe it scales) 3) real transactions On May 6, 11:56 

Re: [web2py] Re: blocks in template

2010-05-06 Thread Russ Ferriday
I can't get deep into this discussion at the moment, but I would like to refer you to Zope and Plone, and their TAL, and METAL Template Attribute Languages. Plone is a CMS and, in general, a url causes traversal to a piece of content. Based on the type of that content, a template is invoked for

[web2py] Re: blocks in template

2010-05-06 Thread mdipierro
I am not familiar with plone but in general we have to make some choices about programming models. Some are push, some are pull. From wikipedia Most MVC frameworks follow a push-based architecture. These frameworks use actions that do the required processing, and then push the data to the view

[web2py] post via mail

2010-05-06 Thread Pepe
Hello! I want to enable the possibility of post via email in one application. so, i need info about how to do that, I never had did that before, so any help is a good help for me. Thanks a lot. Pepe _ Este mensaje también fue posteado en el grupo en Español:

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 12:23 pm, Russ Ferriday ru...@topia.com wrote: I can't get deep into this discussion at the moment, but I would like to refer you to Zope and Plone, and their TAL, and METAL Template Attribute Languages. Plone is a CMS and, in general, a url causes traversal to a piece of content.

[web2py] Re: post via mail

2010-05-06 Thread mdipierro
It is actually not difficult. Somewhere you create an email account that is the recipient of emails directed to the application. For example a gmail account. Then you write a web2py script that runs in background and that periodically connects to that account (using the python pop or imap

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
So don't use {{include}} just use blocks, and override them. You don't Have to use {{include}} anymore, as you said it is effectively deprecated (although I find usefull for being lazy :) -- Thadeus On Thu, May 6, 2010 at 12:26 PM, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: t is,

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
I think Massimo is right, and now I think I understand what you are wanting? You want the called view to be able to get all of the information it wants from anywhere (ie: pull) You can almost do this with the effect of the right functions and inclusions. I do this at times, I declare a

[web2py] PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread MikeEllis
The class isn't really named Foo, of course, but it makes for a more readable subject line. Here's the actual ticket: Traceback (most recent call last): File /Users/mellis/web2py/gluon/main.py, line 504, in wsgibase session._try_store_on_disk(request, response) File

[web2py] Web2py Utils now on the CheeseShop, With a new unittesting module

2010-05-06 Thread Thadeus Burgess
The documentation will now live on the cheeseshop. http://packages.python.org/web2py_utils/ You can now easy_install it This release includes a new Test Runner module, to help properly UnitTest web2py applications. It includes WebTest, Nosetests, Coverage support, as well as creating a fake

[web2py] Re: Web2py Utils now on the CheeseShop, With a new unittesting module

2010-05-06 Thread mdipierro
well done! On May 6, 1:19 pm, Thadeus Burgess thade...@thadeusb.com wrote: The documentation will now live on the cheeseshop. http://packages.python.org/web2py_utils/ You can now easy_install it This release includes a new Test Runner module, to help properly UnitTest web2py applications.

[web2py] Re: PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread MikeEllis
More info: I've confirmed that any class defined in the modules directory can reproduce the problem. To verify, create a new module named dummyclass.py containing import uuid class Problem(object): Just to validate that session.problem pickling error is not related to anything in

[web2py] Deployment - SSL certificate under Windows

2010-05-06 Thread greenpoise
I got the 2nd edition of the book yesterday and I am stuck in this part. How to make a SSL certificate for windows deployment? more than production, this is for production/intranet. This is the only error Apache throws. I tried removing it but the certificate is necessary. What is the procedure?

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 12:51 pm, Thadeus Burgess thade...@thadeusb.com wrote: So don't use {{include}} just use blocks, and override them. You don't Have to use {{include}} anymore, as you said it is effectively deprecated (although I find usefull for being lazy :) As for the old reverse-include, i.e.

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
Extend will effectively make the template its parent in the tree. Include will parse the template, and take its response and stick it in the tree at that point. An included file does not have access to its parents blocks, because it is effectively become part of the original template. So an

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 12:57 pm, Thadeus Burgess thade...@thadeusb.com wrote: I think Massimo is right, and now I think I understand what you are wanting? You want the called view to be able to get all of the information it wants from anywhere (ie: pull) You can almost do this with the effect of the

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
I need an example of dynamic skin behavior. Code. (even if pseudocode). I need some code to understand. -- Thadeus On Thu, May 6, 2010 at 1:48 PM, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: ther than fixing the point of responsibility point, and making the actions naturally there

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 1:47 pm, Thadeus Burgess thade...@thadeusb.com wrote: Extend will effectively make the template its parent in the tree. Include will parse the template, and take its response and stick it in the tree at that point. An included file does not have access to its parents blocks,

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
Sure, and it will do it. And you can even get yourself into a circular import situation and cause it to crash from max-recursion-depth exception. -- Thadeus On Thu, May 6, 2010 at 1:56 PM, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On May 6, 1:47 pm, Thadeus Burgess

[web2py] Re: Is GAE worth using

2010-05-06 Thread Robin B
The 1000 result limit was removed in Feb when they added query cursors [1]. You can use the task queue to perform fault tolerant map reduce jobs [2]. Full text search should be announced this month at GoogleIO. [1]

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 1:52 pm, Thadeus Burgess thade...@thadeusb.com wrote: I need an example of dynamic skin behavior. Code. (even if pseudocode). I need some code to understand. Ach! as usual, you seem to ask the right questions I will think on this - but your question raises this (?) revelation:

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 1:52 pm, Thadeus Burgess thade...@thadeusb.com wrote: I need an example of dynamic skin behavior. Code. (even if pseudocode). I need some code to understand. an example of changing location: app allows left or right menu; move as user set this; app doesn't allow move of top, main

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 1:52 pm, Thadeus Burgess thade...@thadeusb.com wrote: I need an example of dynamic skin behavior. Code. (even if pseudocode). I need some code to understand. more: App has layout with header, status bar, body, footer. Any app page can use a body layout (within the main site

[web2py] Is T3 still in use, whats everyone using

2010-05-06 Thread mike
About a year ago or so, I was really excited about T3. But going back to web2py now, there is very little mention of it, so is this project dead? Is it worth using, or is there another system in development?

[web2py] JOB opening web programmer Jersey City NJ

2010-05-06 Thread Debebe Asefa
Just a recruiter contacted me to recommend a web programmer with Flash and DOJO ability in addition to web2py official programming languages. If you are a qualified candidate send your resume to Jill Merrel at jillmerr...@comcast.netand then send me email at debe...@yahoo.com. The person has

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 1:52 pm, Thadeus Burgess thade...@thadeusb.com wrote: I need an example of dynamic skin behavior. Code. (even if pseudocode). I need some code to understand. continuing w/ the body panel discussion: example.html: # I'll pick what out of this grab bag I place, # some

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
We don't need an {{import}} you can already do that with {{include}}. {{include functions.html}} # which defines child_page_items {{for page_item in child_page_items(page_items):}} etcetc. As far as layout, thats just a variable if (user.preferences.layout == 3): extend layout3col.html if

[web2py] Re: JOB opening web programmer Jersey City NJ

2010-05-06 Thread dbb
The email address is jillmerr...@comcast.net, and mine debe...@yahoo.com On May 6, 3:18 pm, Debebe Asefa asefa.deb...@gmail.com wrote: Just a recruiter contacted me to recommend a web programmer with Flash and DOJO ability in addition to web2py official programming languages. If you are a

Re: [web2py] Re: blocks in template

2010-05-06 Thread Thadeus Burgess
So you can already accomplish that example.html {{ extend layout.html }} {{ block body }} {{ include functions/body_2panel.html }} ... {{ end body }} # this is fine, the parser already ignores the second value. -- Thadeus On Thu, May 6, 2010 at 2:22 PM, Yarko Tymciurak

[web2py] Deployment - SSL certificate under Windows

2010-05-06 Thread greenpoise
I had removed the post thinking that I got it working but nah. I cant set web2py on Windows. I get an error message that it cant find the certificate files. Is there a way around this? or do I need a certificate and how do I make one?? I tried going from the book but the certificate part is under

[web2py] Re: Is GAE worth using

2010-05-06 Thread waTR
@Robin: That is a HUGE step forward. I had seen something about deferred recently, and thought it was a decent api for the functionality needed from MapReduce. Once full-text search is added there will be no reason not to use it for web apps... On May 6, 12:10 pm, Robin B robi...@gmail.com

[web2py] Re: Is T3 still in use, whats everyone using

2010-05-06 Thread mdipierro
There is something being planned. A lot of what used to be in T3 (modules/t2.py) is not in web2py core. On May 6, 2:17 pm, mike michal...@gmail.com wrote: About a year ago or so, I was really excited about T3.  But going back to web2py now, there is very little mention of it, so is this project

[web2py] Re: Deployment - SSL certificate under Windows

2010-05-06 Thread mdipierro
web2py.exe -h will list comment line options. There are two options to specify the location of certificate files. On May 6, 2:28 pm, greenpoise danel.sega...@gmail.com wrote: I had removed the post thinking that I got it working but nah. I cant set web2py on Windows. I get an error message

[web2py] Re: Is GAE worth using

2010-05-06 Thread mdipierro
Thank you for the clarification. On May 6, 2:10 pm, Robin B robi...@gmail.com wrote: The 1000 result limit was removed in Feb when they added query cursors [1].  You can use the task queue to perform fault tolerant map reduce jobs [2].  Full text search should be announced this month at

Re: [web2py] Re: Is T3 still in use, whats everyone using

2010-05-06 Thread Kuba Kucharski
On Thu, May 6, 2010 at 9:37 PM, mdipierro mdipie...@cs.depaul.edu wrote: There is something being planned. A lot of what used to be in T3 (modules/t2.py) is not in web2py core. (modules/t2.py) is NOW in web2py core.

[web2py] Re: PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread MikeEllis
Oops forgot to include import os in my example code. It was imported elsewhere in my app. With that correction, I have now reproduced the problem in a new app containing nothing but the example code. I've tried googling the PicklingError message and found some references to problems under WSGI,

[web2py] Re: Deployment - SSL certificate under Windows

2010-05-06 Thread drelyn86
If you want SSL encryption, then yes, you will need a certificate file. OpenSSL is also available for Windows, and I believe the command- line options are the same as described in the linux version. Whether you want a third party to sign your certificate is up to you, but if you choose to

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 2:22 pm, Thadeus Burgess thade...@thadeusb.com wrote: We don't need an {{import}} you can already do that with {{include}}. include inserts (textual); I intended that import would make available block content definitions, for my template to call on - but would not insert

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
On May 6, 2:25 pm, Thadeus Burgess thade...@thadeusb.com wrote: So you can already accomplish that example.html {{ extend layout.html }} {{ block body }}    {{ include functions/body_2panel.html }}    ... {{ end body }} # this is fine, the parser already ignores the second

Re: [web2py] Web2py Utils now on the CheeseShop, With a new unittesting module

2010-05-06 Thread Mathieu Clabaut
Really nice ! Thank you for publishing it... I'll try this soon... -Mathieu On Thu, May 6, 2010 at 20:19, Thadeus Burgess thade...@thadeusb.com wrote: The documentation will now live on the cheeseshop. http://packages.python.org/web2py_utils/ You can now easy_install it This release

[web2py] Re: blocks in template

2010-05-06 Thread Yarko Tymciurak
...sorry - from the developer's thread, I see you might have already implemented more of this than I realize. Let's go with that for now, and get to know it's capabilities. Thank you! - Yarko On May 6, 2:25 pm, Thadeus Burgess thade...@thadeusb.com wrote: So you can already accomplish that

[web2py] Re: Is T3 still in use, whats everyone using

2010-05-06 Thread mdipierro
not modules/t2.py itself but almost all its functionality has been absorbed by Mail, Auth, Crud and Services in gluon/tools.py and it is much better. The only think left out if the wiki-like functionality, the storage of models in db itself, the inline error reporting. T4 (on launchpad) was an

[web2py] Re: PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread mdipierro
in web2py you CANNOT store an object into a session unless you store it already serialized. This is because the session is retrieved before your code is executed and therefore before the module in question is imported. On May 6, 3:03 pm, MikeEllis michael.f.el...@gmail.com wrote: Oops forgot to

[web2py] Confusion in Models. Difference between SQLField, Field, db.Field

2010-05-06 Thread Yanni
I am confused as to when to use SQLField Field db.Field in model definition. What are the ramifications? Thank you, Yanni.

[web2py] Re: PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread MikeEllis
Thanks, Massimo. Makes perfect sense now that you've explained it. The nature of my app is such that I really do need to keep the object in the session, so just to make sure I understand, I need to do something like session.problem = cPickle.dumps(problem) before leaving any function that

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread Christopher Steel
Hi Anthony, I am new to Python and started dabbling in Web2py late last year. Without a doubt the most awesome thing about working with Web2py aside from Web2py itself is the totally rocking Web2py community. Massimo has and continues to set a very high bar in terms of his stellar commitment to

Re: [web2py] Re: Is GAE worth using

2010-05-06 Thread Vasile Ermicioi
what about hosting a website there? I didn't use it only because they broke support for 'nude domains'

[web2py] Re: Confusion in Models. Difference between SQLField, Field, db.Field

2010-05-06 Thread mdipierro
They are all alias of each other. You should use Field. The other ones are there for backward compatibility. On May 6, 3:41 pm, Yanni apoe...@gmail.com wrote: I am confused as to when to use SQLField Field db.Field in model definition. What are the ramifications? Thank you, Yanni.

[web2py] Re: PicklingError: Can't pickle class 'Foo': it's not the same object as Foo

2010-05-06 Thread mdipierro
yes. On May 6, 3:58 pm, MikeEllis michael.f.el...@gmail.com wrote: Thanks, Massimo. Makes perfect sense now that you've explained it. The nature of my app is such that I really do need to keep the object in the session, so just to make sure I understand, I need to do something like    

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread mdipierro
I have not done a good job at keep track. These are two outdated lists: http://www.appliedstacks.com/PoweredBy/web2py http://web2py.com/poweredby On May 6, 4:02 pm, Christopher Steel chris.st...@gmail.com wrote: Hi Anthony, I am new to Python and started dabbling in Web2py late last year.

[web2py] Re: Is GAE worth using

2010-05-06 Thread mdipierro
What is nude domains. I did not dare googling that. On May 6, 4:20 pm, Vasile Ermicioi elff...@gmail.com wrote: what about hosting a website there? I didn't use it only because they broke support for 'nude domains'

[web2py] Re: Top 3 web2py features

2010-05-06 Thread Mengu
1) scalable 2) fast 3) easy

[web2py] Re: Web2py Utils now on the CheeseShop, With a new unittesting module

2010-05-06 Thread Patrick
On May 6, 3:15 pm, Mathieu Clabaut mathieu.clab...@gmail.com wrote: Really nice ! Thank you for publishing it... I'll try this soon... -Mathieu On Thu, May 6, 2010 at 20:19, Thadeus Burgess thade...@thadeusb.com wrote: The documentation will now live on the cheeseshop.

Re: [web2py] Re: Is GAE worth using

2010-05-06 Thread Vasile Ermicioi
sorry, naked domains :)

[web2py] Re: Is GAE worth using

2010-05-06 Thread Richard
it means you have to use blog.web2py.com instead of web2py.com I love GAE. Most of my work is small apps for various clients and getting familiar with each clients hosting would be too much overhead. To speed up your app use memcache everywhere and keep your app warm. On May 7, 10:10 am, Vasile

[web2py] Re: Top 3 web2py features

2010-05-06 Thread Richard
SQLFORM Excellent GAE support DAL is very intuitive And a super helpful user group! On May 7, 1:18 am, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote: Hi folks, I'm writing an article to a brazillian technology magazine about web2py but I have limited space, so I need to write what are

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread cjrh
On May 6, 7:37 am, Anthony av201...@yahoo.com wrote: I am brand new to web application development, and I'm looking for a good web framework to learn in order to build a new web application (sort of a personal task/project management system). Any insights and advice would be much appreciated.

[web2py] Re: Top 3 web2py features

2010-05-06 Thread cjrh
On May 6, 5:18 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote: So, please, each of you, prioritize your list and show me the top 3 features you like. batteries, migration, python-in-templates.

[web2py] Service returns invalid function message

2010-05-06 Thread Matthew
I have a simple service running in web2py 1.74.6 and 1.77.3. In the older version, the service works great. In the newer version, the invalid function message is returned. Here is my code: from gluon.tools import Service service = Service(globals()) @service.json def hello():

[web2py] Re: Service returns invalid function message

2010-05-06 Thread mdipierro
works for me with 1.77.3 did you delete def call(): return service() On May 6, 11:08 pm, Matthew matthew.g.nor...@gmail.com wrote: I have a simple service running in web2py 1.74.6 and 1.77.3. In the older version, the service works great. In the newer version, the invalid function message is