Nice link - thanks ... looks like this one is worth looking at more
thouroughly
On Sun, May 31, 2009 at 4:05 AM, HansD wrote:
>
> Nice starting point perhaps:
> http://reinout.vanrees.org/weblog/2009/05/28/practical-project-automation.html
>
> On May 25, 1:24 am, mdipierro wrote:
> > Yes this w
Hi Denes,
Thanks!
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
w
I support web2py and its developers, however, Joe does have a point
here.
> Your metric is flawed. All you can say for certain is that a growing
> number of people were interested in web2py at some point in time. You
> cannot tell how many have left in frustration and now use other
> platforms.
Massimo --
Remind me again... Who writes the documents in the Sphinx system?
Isn't is it designed for a small group of documentation writers? It's
not like a wiki where anyone can contribute, right?
Does that really break the bottleneck?
-- Joe B.
On May 31, 9:09 pm, mdipierro wrote:
> Anyw
Please don't feel like you have started an argument -- and especially
don't think that you have done anything wrong or stepped on anyone's
toes. We are all trying to achieve success with web2py and you are
stepping up to do something. I applaud your efforts.
Warm regards,
Joe Barnhart
On May
thanks!
On May 31, 10:58 pm, "Zoom.Quiet" wrote:
> On Mon, Jun 1, 2009 at 11:40, mdipierro wrote:
>
> > ... you should comment on threads like this:
>
> >http://www.reddit.com/r/programming/comments/8ooh3/which_web_framewor...
>
> done!-)
>
> > Massimo
>
> --http://zoomquiet.org
> '''过程改进乃是催生可促
OK. As you request since the latest version in trunk you can do
@auth.requires_login()
def index(): return 'hello world'
and access it with
curl -u username:password http://127.0.0.1:8000/app/default/index
or
curl http://username:passw...@127.0.0.1:8000/app/default/index
In the latter
Hi,
The code below is from Page 50 of the pdf book. Need an example for
selecting a saved ip address in a table which could verify if a user
has or has not submitted a posting within a specified time period. In
the example below, there are specified form fields. Could you give me
an example of h
Evgeny,
I do not think you should delete the repository and this exchange has
nothing to do with it.
Let's say we agree that web2py docs should move to trac.
Something I have resisted but I do not oppose.
We still want to have one or more web2py wikis available and we need
people committed to th
On Mon, Jun 1, 2009 at 11:40, mdipierro wrote:
>
> ... you should comment on threads like this:
>
> http://www.reddit.com/r/programming/comments/8ooh3/which_web_framework_do_you_prefer/
>
done!-)
> Massimo
--
http://zoomquiet.org
'''过程改进乃是催生可促生靠谱的人的组织!'''
Free as in Freedom! 哲思自由软件社区:http://
sorry folks, I feel I've triggered this exchange.
and I can delete the repository that I've set up - big deal.
I think it will be pretty bad if an argument kills the project.
what you've started - rolling your own - is a good strategy as long
as
there is a continuous improvement of code and conti
Since my last message on this thread, I came up with a patch to the
Auth.login() code that lets me do what I need, so figured I should
post it here. Let me know if you see any issues with this approach (or
improvements to it).
To recap, what I want to do is to let a script runing wget (not a
brow
... you should comment on threads like this:
http://www.reddit.com/r/programming/comments/8ooh3/which_web_framework_do_you_prefer/
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group
thanks. I forgot DIV had a len method.
Massimo
On May 31, 10:27 pm, DenesL wrote:
> Reposting
> fromhttp://groups.google.com/group/web2py/browse_thread/thread/2114e5ab59...
>
> From the python 2.5 manual, library reference, 3.1:
>
> "The following values are considered false:
> ...
> instances
What do you propose?
Massimo
On May 31, 10:22 pm, DenesL wrote:
> I agree with Joe on many of his comments.
> Documentation is high priority and the current effort is not
> progressing.
> I will have to side with him too on the why.
> The current wiki is still not contributor friendly on this d
Make a concrete proposal. Trac?
Massimo
On May 31, 10:22 pm, DenesL wrote:
> I agree with Joe on many of his comments.
> Documentation is high priority and the current effort is not
> progressing.
> I will have to side with him too on the why.
> The current wiki is still not contributor friendl
I agree with Joe on many of his comments.
Documentation is high priority and the current effort is not
progressing.
I will have to side with him too on the why.
The current wiki is still not contributor friendly on this dead horse
second beating.
More hopeful regards,
Denes.
--~--~-~--
Reposting from
http://groups.google.com/group/web2py/browse_thread/thread/2114e5ab590fc228#
>From the python 2.5 manual, library reference, 3.1:
"The following values are considered false:
...
instances of user-defined classes, if the class defines a __nonzero__
() or __len__() method, when tha
Joe,
going back to your concerns. I think some are founded and some are
not.
It is not true that web2py is failing. It is going very well from my
data. It is true we can do better. It true that documentation is one
of the areas it can improve. I am not sure whether you blame this on
the technolo
does anybody understand this?
massimo-di-pierros-macbook:web2py mdipierro$ python web2py.py -S
welcome
>>> print INPUT() or 'oops'
oops
why is INPUT same as False?
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
> Google checkout is a good choice, but its offer for sellers seems not
> to be available in Japan yet. I look forward to using it in Japan
> sometime later. Meanwhile, I plan to customize the codes for other
> checkout routines. Is there such codes in Python/web2py already
> available somewhere,
You are confusing two issues.
This is about a wiki app not about content.
Yes web2py documentation needs to be improved, this will happen if
people help by taking care of the example apps (which is what Evengy
and others are doing).
Massimo
On May 31, 7:33 pm, Joe Barnhart wrote:
> Am I rea
>From the python 2.5 manual, library reference, 3.1:
"The following values are considered false:
...
instances of user-defined classes, if the class defines a __nonzero__
() or __len__() method, when that method returns the integer zero or
bool value False."
Both INPUT and A derive from DIV whi
On Jun 1, 12:08 pm, mdipierro wrote:
> This is very strange I fixed it and I am uploading the fix to trunk
> but I do not understand it.
> It seems that if INPUT() is false (?!)
that's weird.
I found it works it I do SPAN(INPUT(...))
>
> You can use TAG.BUTTON(...)
thanks!
>
> On May 31, 7:2
This is very strange I fixed it and I am uploading the fix to trunk
but I do not understand it.
It seems that if INPUT() is false (?!)
You can use TAG.BUTTON(...)
On May 31, 7:25 pm, Richard wrote:
> hello,
>
> I am using the col3 argument to SQLFORM to add some data:
> button = INPUT(_type='bu
Hi, Fran
Thanks for your comment and pointers.
On 5月31日, 午前7:17, Fran wrote:
> On May 30, 4:29 am, suiato wrote:
>
> > I'm translating an appliance eStore as an example in learning how to
> > localize web2py appliances, and found web2py2po/po2web2py programs
> > useful because I usually work o
Hi Annet,
On May 31, 12:48 am, annet.verm...@gmail.com wrote:
> Hi Denes,
>
> I have another validator about which I am not sure ...
>
> db.adres.plaats.requires=[IS_IN_DB(db,db.plaats.plaats,'%(plaats)s')]
> db.adres.plaats.widget=lambda self,value:INPUT
> (_type='text',_id='place',_class='ac_in
Thanks, Massimo.
Very encouraging to have a kind response from you.
Looking closely, I noticed I overlooked the error messages "too small
or too large!" under the boxes for Ship Fedex *bc. Initially these
boxes were empty. When I put 0.0 into these boxes at
http://127.0.0.1:8000/eStore/manage/se
Am I reading this right? We now have a repository to contribute to
the web2py wiki code base?
The same phantom developers who are not working on the wiki now are
not going to work on the codebase in the repository.
"Different wiki apps?!?!" Massimo -- you aren't GETTING IT. You are
treating t
hello,
I am using the col3 argument to SQLFORM to add some data:
button = INPUT(_type='button', _value='test')
link = A('test', _href=URL(r=request, f='test'))
col3 = dict(name=button, project=link)
form = SQLFORM(db.model, col3=col3)
Strangely this works for links but not inputs. Inputs are not
i've left a post about this on mod_wsgi list:
http://groups.google.com/group/modwsgi/browse_thread/thread/23d18f82cffd6d6e
On May 31, 4:55 pm, mdipierro wrote:
> > So web2py HAS to work through web2py.py daemon?
>
> No, no only if you use Apache + mod_proxy.
>
> > even if it's with WSGI?
>
> No
Thanks Evgeny for taking care of this. I hope other people with take
other sample apps and will volunteer to become maintainers. Of course
this does not prevents forks or different wiki apps. Different people
have different needs.
massimo
On May 31, 6:46 pm, Evgeny wrote:
> Hi All,
>
> I volunt
> So web2py HAS to work through web2py.py daemon?
No, no only if you use Apache + mod_proxy.
> even if it's with WSGI?
No, we run the PyCon registration using mod_wsgi without the built-in
wsgiserver. I do not have the code right now. Perhaps somebody can
provide an example.
> I've tried that,
Hi All,
I volunteered to be a maintainer of the wiki app, Massimo seems to
have approved this.
So I've created a repository at http://code.google.com/p/web2py-wiki/
with the latest snapshot from the launchpad.
(i've been using google code and it seems to be faster and simpler
than launchpad)
Of
so web2py HAS to work through web2py.py daemon? even if it's with
WSGI?
I've tried that, now I have issue that WSGI system does not attach
web2py.py
as interpreter - it attaches '' instead which is httpd by default.
looks like wsgi/apache problem. I have centos/apache2
My directives in the vir
Yes! I agree completely.
This has ALWAYS been about creating a platform (wiki) that enabls MORE
PEOPLE to contribute. That's why I feared it was a mistake to "eat
our own dogfood" and decide to create our own wiki in the first place.
Now we're mired in a development quagmire because we don't h
That will prevent users from buying but should not cause the problem
you mention.
Try replace
def setup():
response.view='manage/setup.html'
form=SQLFORM(store.info,mystore)
if form.accepts(request.vars,session):
response.flash='that was easy! now go vist your store.'
els
The DAL is been rewritten for three main reason
1) to make is easier to extend by making it more modular and readable
2) to decouple the virtual names (for tables and fields) from the
actual ones (what you are asking)
3) to remove its dependence on __str__ so that it will work on Python
3.0
1,2,
This is not fixed in trunk.Please check that it works as you'd expect.
I think so.
IS_NULL_OR(IS_IN_SET(...,multiple=True))
IS_NULL_OR(IS_IN_DB(...,multiple=True))
allow no seletcion without showing an empty option.
Massimo
On May 27, 3:52 pm, Fran wrote:
> When creating a UI to optionally
Comments:
- Talk is cheap;
- Anyone can be a critic - that's easy; being constructive, of a service
mentality, that's useful.
On Sun, May 31, 2009 at 1:32 PM, Joe Barnhart wrote:
>
> Hi Massimo --
>
> Comments below...
>
> On May 30, 10:58 pm, mdipierro wrote:
>
> > I appreciate the criticis
and you need recent changes view in wiki
On May 31, 12:33 pm, Evgeny wrote:
> hi guys,
>
> I'd start with basic things.
>
> the front page must explain that login is required to edit.
> otherwise there is no "edit" link.
>
> and make sure front page is really informative -
> it is most visited.
hi guys,
I'd start with basic things.
the front page must explain that login is required to edit.
otherwise there is no "edit" link.
and make sure front page is really informative -
it is most visited.
I think this restriction of login to edit can be replaced with
recaptcha - it does stop all
Hello,
Could someone be kind to write out the chain of events that must
happen
from apache (or an analog _production_ server) receiving web request
to
web2py app sending the response?
Or point me to a right document. If one doesn't exist, I'll be happy
to summarize responses.
This will greatly
Hi Massimo:
Thank you for considering those MSSQL issues.
Another DAL – related issue is the errors of some apps on some SQL
engines caused by the use of reserved words as column names
T3 appears to have this issue on SQL Server:
In t2.py line 355, it uses the SQL Server reserved word 'file' as
Hi Massimo --
Comments below...
On May 30, 10:58 pm, mdipierro wrote:
> I appreciate the criticism. I agree the wiki has lagged behind. Is
> this really because of the technology behind it?
Yes. It is not a wiki until you have urls that reflect the page
title, easy linking from one wiki entr
I have run an appliance eStore, and it works fine except that I cannot
set parameters under Merchant ID at http://localhost:8000/eStore/manage/setup
because the condition form.accepts(request.vars,session) in setup() is
false. Is it because I don't have an official Merchant ID?
I am yet to learn
Ok, not yet encountered that but I can imagine it. Needs a bit of work
than and I keep it for my own projects than for now.
On Sun, May 31, 2009 at 5:50 PM, mdipierro wrote:
>
> this would break the dal because table headers can be aggregates and
> are not necessarily table fields. That is why i
this would break the dal because table headers can be aggregates and
are not necessarily table fields. That is why it is not done by
default.
On May 31, 3:49 am, HansD wrote:
> currently when having
> {{=records}}
> in your view, it prints out a table with the records, the table
> headers being
the new dal will also allow an alternate simple notation that does not
require the _extra. ;-)
On May 31, 9:25 am, eddie wrote:
> Thanks Massimo.
>
> Looking over the cookbook examples, I realise now the example of the
> left parameter pretty much covers this, it just helps to have it
> pointed
Just define your own 'auth_user' table before calling
auth.define_tables(). You can add any field you want to make sure the
default fields are there.
On May 31, 7:40 am, Jurgis Pralgauskis
wrote:
> Hello,
>
> I want persons while registering to enter more data, than default auth
> asks...
> what
I am going to add the more explicative exceptions. Patterns fields
will go in the new DAL but probably with a slightly different
notation. Thanks Hans.
On May 31, 3:43 am, HansD wrote:
> allowing for stuff like:
>
> def SQLPatternFields(value_list, pattern, type):
> fields = []
> if not pa
this can definitively be done.
On May 31, 3:41 am, dlypka wrote:
> Hi Massimo
>
> FYI: Some issues to note as you are rewriting the DAL:
>
> 1. For mssql connections, I want to write:
> db = SQLDB('mssql://dlypka:p...@word1@localhost/TMoMilestones')
> The '@' delimiter is a problem for me be
On May31, 4:49pm, HansD wrote:
> currently when having
> {{=records}}
> in your view, it prints out a table with the records, the table
> headers being the 'ugly' field names (prefixed with the table).
>
> The following patch will make use of the labels supplied on the
> db.define(...)
>
> I've n
Thanks Massimo.
Looking over the cookbook examples, I realise now the example of the
left parameter pretty much covers this, it just helps to have it
pointed out :)
While I'm here, I thought I'd post a related solution that I found
useful. Once I got my counts coming through to the view, I was s
Hello,
I want persons while registering to enter more data, than default auth
asks...
what would be the best ways to "append" those fields to the profile
(table called "persons" if I remember correctly)?
probably I could do this dynamically, after the table "persons" is
created importing auth...
Nice starting point perhaps:
http://reinout.vanrees.org/weblog/2009/05/28/practical-project-automation.html
On May 25, 1:24 am, mdipierro wrote:
> Yes this would be nice. Please teach us how to...
>
> On May 24, 2:05 pm, Yarko Tymciurak wrote:
>
> > I ... needed a break from my computer so I (
currently when having
{{=records}}
in your view, it prints out a table with the records, the table
headers being the 'ugly' field names (prefixed with the table).
The following patch will make use of the labels supplied on the
db.define(...)
I've not yet tested this for GAE.
=== modified file '
allowing for stuff like:
def SQLPatternFields(value_list, pattern, type):
fields = []
if not pattern or pattern == '':
pattern = '%s'
for value in value_list:
fields.append(
SQLField(pattern % value, type)
)
return fields
periods_fields = SQLPatter
Hi Massimo
FYI: Some issues to note as you are rewriting the DAL:
1. For mssql connections, I want to write:
db = SQLDB('mssql://dlypka:p...@word1@localhost/TMoMilestones')
The '@' delimiter is a problem for me because '@' is a legal, often
used character in SQL Server passwords
So please at
Hi,
I was able to compile mod_wsgi and make a test wsgi script work under
apache.
installed gluon to python site-packages, they are imported fine
because there are no errors on "import gluon" when I call script
through the browser.
if I go to http:///appadmin.py I get in error_log
[Sun
i think you need two pieces:
/setup.py - that installs the modules to the python site-packages
/README - which explains basics well
wiki is nice but these basic things are very important.
On May 30, 10:58 pm, mdipierro wrote:
> Hi Joe,
>
> I appreciate the criticism. I agree the wiki has lagge
wiki won't take off unless most active users contribute daily.
-even if software behind it is perfect. gotta use it.
I'll try to summarize my installation experience.
Evgeny.
On May 30, 10:58 pm, mdipierro wrote:
> Hi Joe,
>
> I appreciate the criticism. I agree the wiki has lagged behind. Is
62 matches
Mail list logo