Thanks for this
But I've a comment
for my application , the authentication uses email address and
password
and I make a label besides the text field where users enters his email
address . The label just says "Enter your Email address"
so I simply want user to know I want him to enter an email add
On Dec 3, 12:53 am, Thadeus Burgess wrote:
> +1 to more comments in code :)
>
> Didn't some smart programmer guy write that at least 50%, if not more, of
> lines of code should be comments describing what the code does and WHY it
> does it ?
Yeah - well, Python can be DENSE CODE, so all the more
http://www.web2pyslices.com/main/slices/take_slice/14
Note the three links to scripts that will set web2py up automatically in the
Links to other Setups section.
-Thadeus
On Thu, Dec 3, 2009 at 12:58 AM, harshit agrawal <
harsh.agrawal2...@gmail.com> wrote:
> I want to host my web2py applica
This should work. There is now a migration function that is based upon a
schema. The schema is flexible for most basic migrations (such as mengu's
blog). However for more advanced migrations (such as my blog) you can still
perform a custom migration by just using the data dictionary.
Included at t
I want to host my web2py application on an apache server . Can anyone
suggest me as to how to go about it ?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this gr
+1 to more comments in code :)
Didn't some smart programmer guy write that at least 50%, if not more, of
lines of code should be comments describing what the code does and WHY it
does it ?
-Thadeus
On Thu, Dec 3, 2009 at 12:46 AM, mdipierro wrote:
> Good occasion to thank all those who have
Good occasion to thank all those who have provided significant help
with docstrings.
On Dec 3, 12:16 am, Yarko Tymciurak
wrote:
> On Dec 2, 11:42 pm, mdipierro wrote:
>
> > On Dec 2, 11:11 pm, Yarko Tymciurak
> > wrote:
>
> > > On Dec 2, 11:00 pm, mdipierro wrote:
>
> ..
>
> Massimo - I sn
On Dec 2, 11:42 pm, mdipierro wrote:
> On Dec 2, 11:11 pm, Yarko Tymciurak
> wrote:
>
> > On Dec 2, 11:00 pm, mdipierro wrote:
>
..
Massimo - I snipped your mail, as it was getting so long .
hmmm
> Yarko, please try write shorter emails. I find myself spending a
> considerable am
In trunk, login not uses
auth.messages.is_empty
so you can use internationalizaiton and/or change the error message.
On Dec 2, 1:07 am, "hamdy.a.farag" wrote:
> Hi
>
> I got a problem using the sign in form
>
> I got the email field and password field
>
> Now email field is not validated as
Thanks Fran. Fixed in trunk now.
Note to other users reading/writing other threads. This is one more
example of a bug in trunk version dues to a new feature that people
are testing this is not a problem with web2py stable. This is the case
for the majority of bug reports here.
massimo
On Dec 2,
In trunk in a minute. Thanks
On Dec 2, 11:13 pm, Thadeus Burgess wrote:
> It gets annoying to just recieve the "Invalid Query" response.flash and not
> know why the query was invalid. Was it improperly formatted data, was it
> actually a bad query (missing a parenthesis)...
>
> I suggest trappin
I do not think we advertise since we do not sell anything. I think we
inform and it is important to do it. All projects do that.
The problem with reddit are two: 1) I did almost all of the posting. I
wish other users had taken more initiative. 2) There a few very vocal
people on reddit who have in
On Dec 2, 11:31 pm, weheh wrote:
> In my experience, if you build it they won't come. If you market it,
> they will. Note: marketing != advertising.
I agree with you AND with Thadeus: that is, market what you did, and
how the tool helped; just marketing the tool (selling the "talk"
without the
On Dec 2, 11:11 pm, Yarko Tymciurak
wrote:
> On Dec 2, 11:00 pm, mdipierro wrote:
>
> > Yarko I disagree. Most of our bug reports about new features being
> > tested by users. We use this mailing list not just to provide help
> > about stable version but also to debug trunk version and discuss
Take current welcome app & add this to the bottom of models/db.py:
# Reusable author fields
authorstamp = db.Table(None, 'authorstamp',
Field('created_by', db.auth_user,
readable=False, # Enable when needed, not by
default
writable=Fa
In my experience, if you build it they won't come. If you market it,
they will. Note: marketing != advertising. The technical community
doesn't like blatant advertising. The best way to market it is to
write useful apps, blog about it, answer questions honestly in forae,
publish lots of documentati
"Write about web2py, advertise it!" is what got web2py on spam lists on
reddit, and various other sites, is why the majority of django peoples are
hostile towards web2py. (note, i said majority not all).
Keep by the saying
"If you build it, they will come"
-Thadeus
On Wed, Dec 2, 2009 at 11
It gets annoying to just recieve the "Invalid Query" response.flash and not
know why the query was invalid. Was it improperly formatted data, was it
actually a bad query (missing a parenthesis)...
I suggest trapping these exceptions appropriately, giving an error message
that actually is useful. I
On Dec 2, 11:00 pm, mdipierro wrote:
> Yarko I disagree. Most of our bug reports about new features being
> tested by users. We use this mailing list not just to provide help
> about stable version but also to debug trunk version and discuss new
> features. We also have attracted a lot of non-pyt
I agree.
We can make it a link of the side-bar that is alway there to remind us
that we have an option to upgrade apps if we have not done so. It
would be non-intrusive. The actual popup to point us to the link would
appear only once.
On Dec 2, 10:46 pm, Yarko Tymciurak
wrote:
> On Dec 2, 10:41
Yarko I disagree. Most of our bug reports about new features being
tested by users. We use this mailing list not just to provide help
about stable version but also to debug trunk version and discuss new
features. We also have attracted a lot of non-python programmers who,
of course, have questions.
On Dec 2, 10:41 pm, mdipierro wrote:
> I agree that the scaffolding app should stay as a *.w2p. I also agree
> that a name like scaffolding.w2p would be more appropriate (not
> template.w2p since we call template something else).
>
> Nevertheless we cannot name and location of files that are docum
No it is not. we should. We can also find the money to do it. we need
concrete ideas to choose from.
On Dec 2, 9:31 pm, cesmiga wrote:
> All:
>
> Is Web2Py being marketed to a broader audience. Do we have media
> coverage in trade and developer magazines. Are other people writing
> books for We
Does it work if you do it this way?
def login():
from gluon.tools import Recaptcha
auth.settings.catpcha = Recaptcha(request,public_key,private_key)
form = auth.login()
form[0][-1][1].append(INPUT(_type='button',
_value='Cancel',_onclick="window.location='%s';"\
% U
On Dec 2, 10:10 pm, Richard wrote:
> monthly post numbers are available
> here:http://groups.google.com/group/web2py/about
To get just HOW MUCH this is irrelevant, take a look at
http://groups.google.com/group/codereview-discuss/about
This is the reitveld code review tool written by Guido in Py
I agree that the scaffolding app should stay as a *.w2p. I also agree
that a name like scaffolding.w2p would be more appropriate (not
template.w2p since we call template something else).
Nevertheless we cannot name and location of files that are documented
in the book.
What if we create a mechani
monthly post numbers are available here:
http://groups.google.com/group/web2py/about
On Dec 3, 1:21 pm, mdipierro wrote:
> I agree but that is difficult to measure.
>
> On Dec 2, 7:59 pm, waTR wrote:
>
> > I think a more valid statistic is # of postings/ month. I would argue
> > an inactive us
On Dec 2, 9:31 pm, cesmiga wrote:
> All:
>
> Is Web2Py being marketed to a broader audience. Do we have media
> coverage in trade and developer magazines. Are other people writing
> books for Web2Py.
Through significant projects with significant traffic or impact. The
tool isn't the "news" rat
Hi,
I implemented Recaptcha in my Registration app and works very well.
But when I implemented the same in Login it does not check the "two
words" which Recaptch requires. The following is the code:
--
-- Models --
db.py
auth.define_tables()
auth.settings.login='
All:
Is Web2Py being marketed to a broader audience. Do we have media
coverage in trade and developer magazines. Are other people writing
books for Web2Py.
This project is the best I know of and I know others would feel the
same if they were informed. How will Web2Py be pushed to a broader
aud
On Dec 2, 9:05 pm, Thadeus Burgess wrote:
> I use welcome.w2p when I am testing a new feature or bug, or attempting to
> make a simple example/case study on a subject.
I agree - having something as fundamental as the base app template in
one "capsule" (e.g. welcome.w2p) is important. There migh
On Dec 2, 8:21 pm, mdipierro wrote:
> On Dec 2, 8:19 pm, Richard wrote:
>
> > I would be fine with (2)
>
> > Do people use examples.w2p?
>
> I do not know.
>
As examples, as the main website this is a useful, non-trivial site
example which should be included as part of the distro, even if few
p
I use welcome.w2p when I am testing a new feature or bug, or attempting to
make a simple example/case study on a subject.
-Thadeus
On Wed, Dec 2, 2009 at 8:21 PM, mdipierro wrote:
>
>
> On Dec 2, 8:19 pm, Richard wrote:
> > I would be fine with (2)
> >
> > Do people use examples.w2p?
>
> I
On Dec 2, 8:19 pm, Richard wrote:
> I would be fine with (2)
>
> Do people use examples.w2p?
I do not know.
> When I need to find something out I search the book and this forum.
>
> On Dec 3, 11:04 am, mdipierro wrote:
>
> > For the future version of web2py
>
> > should we (1) continue to
I agree but that is difficult to measure.
On Dec 2, 7:59 pm, waTR wrote:
> I think a more valid statistic is # of postings/ month. I would argue
> an inactive user is not necessarily a good thing. Not to throw water
> on the great news or anything. It is still a positive indicator that
> the user
I would be fine with (2)
Do people use examples.w2p?
When I need to find something out I search the book and this forum.
On Dec 3, 11:04 am, mdipierro wrote:
> For the future version of web2py
>
> should we (1) continue to distribute admin.w2p, welcome.wp2,
> examples.w2p and unpack them on
I think a more valid statistic is # of postings/ month. I would argue
an inactive user is not necessarily a good thing. Not to throw water
on the great news or anything. It is still a positive indicator that
the user numbers are growing. Go web2py!!
On Dec 2, 3:58 pm, mdipierro wrote:
> yes.
>
why and not ?
On Dec 2, 6:17 pm, haftish21 wrote:
> Listen 8000
>
> NameVirtualHost *:8000
>
>
> DocumentRoot "C:/web2py/applications"
> ServerName ( # my ip)
>
>
> Order allow,deny
> Deny from all
>
>
>
>
Listen 8000
NameVirtualHost *:8000
DocumentRoot "C:/web2py/applications"
ServerName ( # my ip)
Order allow,deny
Deny from all
Order deny,allow
Allow from all
For the future version of web2py
should we (1) continue to distribute admin.w2p, welcome.wp2,
examples.w2p and unpack them on startup (and require --upgrade=yes on
upgrade) or (2) should we just distribute the applications folder with
unpacked apps?
The case (2) would simplify lots of stuff
2.6.1 has lots of bugs.
On Dec 2, 5:51 pm, haftish21 wrote:
> U got it!!! python 2.6.4 did it right, thanks...and I'll try to see
> what will happen 2 my original question and let u know, thanks a lot!
--
You received this message because you are subscribed to the Google Groups
"web2py-users"
yes.
On Dec 2, 4:28 pm, DenesL wrote:
> y-axis: users,
> x-axis: days(?)
>
> On Dec 2, 2:48 pm, mdipierro wrote:
>
> >https://www.web2py.com/examples/static/users.jpg
>
>
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group,
U got it!!! python 2.6.4 did it right, thanks...and I'll try to see
what will happen 2 my original question and let u know, thanks a lot!
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.
Never mind. I see Massimo responded here on this topic more recently:
http://groups.google.com/group/web2py/browse_thread/thread/fe12fd97e6a22c4/6f2b6bc03ebb572a
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email
Hi. Was this ever resolved? This would be very useful for showing the
label in one-to-many's with a parent FK ID.
Thanks. -Eric
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsu
y-axis: users,
x-axis: days(?)
On Dec 2, 2:48 pm, mdipierro wrote:
> https://www.web2py.com/examples/static/users.jpg
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe
https://www.web2py.com/examples/static/users.jpg
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
Fo
Not so much of a joke. I think we should have a system that write the
app for us.
We need a database of models for various useful cases, a software that
can pull them, instantiate and detect dependencies. The model could
contain enough markup to automatically generate an interface. Plus all
text in
Do you have the Mark Hammond win32 extensions? You need them if you
run from source.
On Dec 2, 11:34 am, haftish21 wrote:
> What is going wrong?
>
> C:\web2py>python web2py.py -W install
> WARNING:root:no file locking
> default applications appear to be installed already
> web2py Enterprise Web F
What is going wrong?
C:\web2py>python web2py.py -W install
WARNING:root:no file locking
default applications appear to be installed already
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2009
Version 1.64.4 (2009-06-24 00:40:36)
Database drivers available: SQLite3, Po
O.O
early here too
-Thadeus
On Wed, Dec 2, 2009 at 10:22 AM, Jonathan Lundell wrote:
> On Dec 2, 2009, at 8:10 AM, Thadeus Burgess wrote:
>
> I don't understand what you mean. Define heavy lifting.
>
> our existing create_app does what I mean.
>
>
> Write my app for me.
>
> A weak joke, but
On Dec 2, 2009, at 8:10 AM, Thadeus Burgess wrote:
> I don't understand what you mean. Define heavy lifting.
>
> our existing create_app does what I mean.
Write my app for me.
A weak joke, but it's early yet here.
>
> -Thadeus
>
>
>
>
> On Wed, Dec 2, 2009 at 10:07 AM, Jonathan Lundell
I am not sure I understand. Notice that
web2py.py -S myapp
will create myapp if does not exist, after asking confirmation and
before entering in the shell.
On Dec 2, 10:07 am, Jonathan Lundell wrote:
> On Dec 2, 2009, at 8:02 AM, Thadeus Burgess wrote:
>
> > Don't we have create_app from t
I don't understand what you mean. Define heavy lifting.
our existing create_app does what I mean.
-Thadeus
On Wed, Dec 2, 2009 at 10:07 AM, Jonathan Lundell wrote:
> On Dec 2, 2009, at 8:02 AM, Thadeus Burgess wrote:
>
> Don't we have create_app from the admin / site screen?
>
>
> Nah; i
Yes I disabled selinux, it was a mixture of Plesk and the CentOS version of
apache all conflicting with each other.
-Thadeus
> On Wed, Dec 2, 2009 at 8:54 AM, Thadeus Burgess
> wrote:
> > I could never get apache/mod_wsgi to install on centos5, so I switch to
> > ubuntu.
> >
> > -Thadeus
> >
On Dec 2, 2009, at 8:02 AM, Thadeus Burgess wrote:
> Don't we have create_app from the admin / site screen?
Nah; it just clones and renames welcome. I'm asking for the heavy lifting.
http://en.wikipedia.org/wiki/DWIM
>
> -Thadeus
>
>
>
>
> On Wed, Dec 2, 2009 at 9:34 AM, Jonathan Lunde
Did you try disabling selinux in centos, installing then reenabling
selinux when done? selinux can cause problems.
http://sysdigg.blogspot.com/2008/01/how-to-disable-selinux-in-centos-5.html
-wes
On Wed, Dec 2, 2009 at 8:54 AM, Thadeus Burgess wrote:
> I could never get apache/mod_wsgi to inst
Don't we have create_app from the admin / site screen?
-Thadeus
On Wed, Dec 2, 2009 at 9:34 AM, Jonathan Lundell wrote:
> dwim
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.co
I could never get apache/mod_wsgi to install on centos5, so I switch to
ubuntu.
-Thadeus
On Wed, Dec 2, 2009 at 3:54 AM, Mengu wrote:
> I was using Pardus 2009 when I met web2py and I had some problems with
> running it on 2009 so I switched to Ubuntu 9.04.
>
> However I noticed something:
>
So posts should only be allowed to live in one category at any given time?
However, for example, a post that is about artificial intelligence that uses
py-game as a test-bed, however it is not a game per-say, but more of case
study for a genetic algorithm.
This post would need to exist in both ca
Begin forwarded message:
> From: Max Lynch
> Date: December 1, 2009 11:11:57 AM CST
> To: "python-announce-l...@python.org" l...@python.org>
> Subject: PyLinkedIn 0.02
> Reply-To: "python-l...@python.org"
>
> Hi,
> I wrote a small library to interact with the newly opened LinkedIn
> OAuth
> A
I think it is a bug in the tarfile module of your Python version
(which version is it?). Somehow it locks the life but does not unlock
it. You are not using 2.6.1. Are you?
On Dec 2, 9:14 am, haftish21 wrote:
> the problem seems still there...
--
You received this message because you are subscr
On Dec 2, 2009, at 6:28 AM, DenesL wrote:
> So there is no such thing as upgrade myapp?
> Where did I get this idea...
What we really need is a create_myapp--save us all a whole lot of trouble. Part
of the Python dwim module...
--
You received this message because you are subscribed to the Goo
There is not because people edit their layout.html, web2py_ajax.html
and base.css. These things need to work together, you cannot replace
one without affecting the others.
On Dec 2, 8:28 am, DenesL wrote:
> So there is no such thing as upgrade myapp?
> Where did I get this idea...
--
You receiv
You can do a lock at the single entity (in practice the record)
level.
On Dec 2, 7:26 am, yamandu wrote:
> Thanks again Massimo,
>
> I think in my case it wont be such a big problem not to be transaction
> safe.
> But could be there any way I don´t see yet to do a lock. Right?
>
> On 2 dez, 00:40
I will double check. Which version of web2py do you have? Meanwhile
try:
routes_in = (('/crossdomain.xml', '/myapp/static/crossdomain.xml'),)
On Nov 30, 1:39 am, elffikk wrote:
> Hi,
>
> I created routes in the root folder of web2py and it look like that
>
> routes_in = (('.*:/crossdomain.xml',
the problem seems still there...
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options,
So there is no such thing as upgrade myapp?
Where did I get this idea...
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsu
Thanks again Massimo,
I think in my case it wont be such a big problem not to be transaction
safe.
But could be there any way I don´t see yet to do a lock. Right?
On 2 dez, 00:40, mdipierro wrote:
> You have to loop:
>
> for row in db(db.table.id>0).select():
> row.update_record(x=row.x+1)
>
On Dec 1, 12:17 pm, Kuba Kucharski wrote:
> http://www.web2pyslices.com/main/slices/take_slice/29
This slice refers to an older version of this shell script; that file
has been renamed, and updated.
I've added a comment to that slice with the path to the correct file.
Secondly:
This script doe
I was using Pardus 2009 when I met web2py and I had some problems with
running it on 2009 so I switched to Ubuntu 9.04.
However I noticed something:
AliasMatch ^/([^/]+)/static/(.*) \
/home/www-data/web2py/applications/$1/static/$2
Should not it be /home/oguz/www-data/web2py/applicati
No one had this problem?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit th
On Tue, 1 Dec 2009 20:16:05 -0800 (PST)
Mengu wrote:
> Oguz, are you using Pardus?
Yes i am. Pardus 2008.2. Did you deploy mod_wsgi, web2py and apache on it?
--
Oguz Yarimtepe
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this
On 2 Dez., 07:04, mdipierro wrote:
> fixed in trunk. Can you please check again?
Everything works well again. THX
Martin
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsub
74 matches
Mail list logo