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
Hi Sverre,
I am using Allan Jardine's DataTables: http://www.datatables.net/
Regards,
Annet.
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
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
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
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):
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.
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
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,
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
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
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
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
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
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
http://web2py.com/appliances/default/show/61
by Gabri Mate
http://web2py.com/appliances/default/show/60
by José de Soto García.
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
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
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.
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,
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
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
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.
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
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
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
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,
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,
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
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,
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
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,
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
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
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
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
http://www.msnbc.msn.com/id/36826679/ns/business-careers/
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
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
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
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
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
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:
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.
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
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,
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
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
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
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.
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
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?
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.
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
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
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
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,
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
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]
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:
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
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
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?
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
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
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
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
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
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
@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
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.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
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
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.
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,
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
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
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
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
...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
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
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
I am confused as to when to use
SQLField
Field
db.Field
in model definition. What are the ramifications?
Thank you,
Yanni.
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
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
what about hosting a website there?
I didn't use it only because they broke support for 'nude domains'
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.
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
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.
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'
1) scalable
2) fast
3) easy
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.
sorry, naked domains :)
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
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
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.
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.
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():
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
99 matches
Mail list logo