Hi Massimo,
Atlast I finished reading the whole book, including the last chapter on
Components and Plugins. Over all, there are quite a few typos and style
inconsistencies. I highly recommend having it edited by a professional
technical editor. Web2Py is a very good framework, and the community
On Aug 10, 2010, at 7:59 PM, Bruno Rocha wrote:
> I thought your explanation is very well written,
> we need always maintain the practice of looking for something relevant to be
> documented when a new thread emerges, and document as quickly as possible, so
> soon web2py will be the framework w
I thought your explanation is very well written,
we need always maintain the practice of looking for something relevant to be
documented when a new thread emerges, and document as quickly as possible,
so soon web2py will be the framework with the best online documentation (if
not already)
Massimo,
Thanks. That explanation is helpful.
On Aug 10, 8:49 pm, Thadeus Burgess wrote:
> Basically, a non-thread safe table design is one that relies on the
> programming code to calculate defaults based on other values in the
> database. A prime example is that web2py does not support
> autoincrement c
I dont know if timeline has ended but...
URL helper has an "extension" parameter, as we can see here:
http://www.google.com/codesearch/p?hl=en#uyCl3L51_dI/gluon/html.py&q=URL
package:http://web2py\.googlecode\.com&sa=N&cd=1&ct=rc&l=119
But not here: http://web2py.com/book/default/chapter/04?sear
On Aug 10, 2010, at 7:37 PM, Bruno Rocha wrote:
> Thank you agains 4 the explanation,
>
> now, this should be documented anywhere, as this is not on the book (
> http://web2py.com/book/default/search?search=extension ) also not in AlterEgo
> ( http://www.web2py.com/AlterEgo/default/search?searc
Thank you agains 4 the explanation,
now, this should be documented anywhere, as this is not on the book (
http://web2py.com/book/default/search?search=extension ) also not in
AlterEgo ( http://www.web2py.com/AlterEgo/default/search?search=extension )
2010/8/10 Jonathan Lundell
> On Aug 10, 20
On Aug 10, 2010, at 7:11 PM, Bruno Rocha wrote:
> "extension=False" is new to me, Thats not covered by the Book
>
> I found and reported that before :
> http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gst&q=URL+changed#8b82a682dff3fc58
>
It's a
"extension=False" is new to me, Thats not covered by the Book
I found and reported that before :
http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gst&q=URL+changed#8b82a682dff3fc58
Tks Jonathan
2010/8/10 Jonathan Lundell
> On Aug 10, 2010, at 5:4
On Aug 10, 2010, at 5:48 PM, Miguel Lopes wrote:
> I'm pretty sure this as been asked, but I can't find it anywhere.
>
> I would like to use the URL function to construct a link inside a component
> view (i.e. views/components/view_x.load). This would be a link to a
> completely new page, to be
Txs!
I see the inclusion of request.application makes the URL being rendered with
a .load extension or not. This seems a bit strange.
I wonder if the solution will be stable!
Miguel
On Wed, Aug 11, 2010 at 2:03 AM, Bruno Rocha wrote:
> I Solved using this way:
>
> URL(request.application,'defau
PLUS: If you need an example on how to auth with gmail account,
look at pyforum source code: http://pyforum.org/
2010/8/10 Fale
> Hi,
> I'm a new web2py user :)
> I'm trying to use google's auth for my app, but it does not work on
> web2py, while it works perfectly on appspot.com and on the o
I Solved using this way:
URL(request.application,'default','view_detail',args=[rec.contact.id])
.load is not appended to the link.
2010/8/10 Miguel Lopes
> I'm pretty sure this as been asked, but I can't find it anywhere.
>
> I would like to use the URL function to construct a link inside
> a
The first place where I always search for help is *THE ORACLE* :
http://www.google.com/codesearch/p?hl=en#uyCl3L51_dI/gluon/contrib/login_methods/gae_google_account.py&q=GaeGoogleAccount%20package:http://web2py%5C.googlecode%5C.com
class GaeGoogleAccount(CasAuth):"""Login will be done via
Basically, a non-thread safe table design is one that relies on the
programming code to calculate defaults based on other values in the
database. A prime example is that web2py does not support
autoincrement columns other than the automatic primary key of id. If
you need a autoincrement column as w
I'm pretty sure this as been asked, but I can't find it anywhere.
I would like to use the URL function to construct a link inside
a component view (i.e. views/components/view_x.load). This would be a link
to a completely new page, to be loaded in the browser and not in the
component div. However,
You cannot import "appengine.api" if you're out of GAE environment..
2010/8/10 Fale
> Hi,
> I'm a new web2py user :)
> I'm trying to use google's auth for my app, but it does not work on
> web2py, while it works perfectly on appspot.com and on the offline gae
> engine :|
>
> My code:
> from gl
The PDF you provided will be very very useful.
Thank you!
2010/8/10 Anand Vaidya
> Hi Bruno,
>
> I did a 5-min lightning talk on web2py at the PyCon APAC event. The
> slides are at:
>
>
> https://docs.google.com/a/vsa-services.com/leaf?id=0BzXgm0Aj6rayM2JlMTA4ODYtNWZkZC00OWRmLTg0MTAtY2U0MjQxM
I'm not quite sure what I'm doing wrong here, I'm trying to set up the
validation so that you cannot have two units in the same course with
the same name (but allow units in different courses to have the same
name):
db.define_table('unit',
Field('course', db.course),
Field('name', required
I'm trying to use this widget on localhost on source version of web2py
1.82.1 but running into the error below. other widgets like jqgrid or
select are working fine.
how can I get slideshow working?
``
name: slideshow
table: coin
field: edge
transition: fade
width: 200
height: 200
``:widget
db.d
Hi,
I'm a new web2py user :)
I'm trying to use google's auth for my app, but it does not work on
web2py, while it works perfectly on appspot.com and on the offline gae
engine :|
My code:
from gluon.tools import Mail, Auth, Recaptcha
auth = Auth(globals(), db)
from gluon.contrib.login_methods.gae_g
On Aug 9, 9:33 am, Thadeus Burgess wrote:
> Just make sure to follow ALL of the web2py performance enhancements.
>
> * Compile the app
> * Sessions to database
> * Make sure all database tables are designed to be thread safe
>
> (ie: don't do things like this... db.table.insert(myid=db(db.table.id
If you are rendering a SQLFORM or whatever in the view using a custom
rendering, ie. not just {{=form}}, then that is when you would be
looking back into that I believe. The attribute is identified by
form.custom.submit.attributes['_value'] because it is like that for
all the input controls I belie
On Aug 10, 2010, at 10:55 AM, Oatman wrote:
> Hi all,
>
> How do I create two tables that both refer to each other? Here's a
> simple example:
>
> db.define_table(
>'item',
>Field('current_alias', 'db.item_alias')
>)
>
> db.define_table(
>'item_alias',
>Field('name'),
>F
Hi all,
How do I create two tables that both refer to each other? Here's a
simple example:
db.define_table(
'item',
Field('current_alias', 'db.item_alias')
)
db.define_table(
'item_alias',
Field('name'),
Field('item', 'db.item')
)
This throws
"SyntaxError: Field: u
I think I have a double submission problem on crud create. I am using
a redirect in the view instead of the next attribute because I have to
evaluate certain variable conditions. Haven't tried in other
situations. I don't know if anyone can confirm this.
You can access directly to html attributes ex: _value, _id, _name,
etc. Is the last resource if you do not have this function in web2py,
this is what i like of web2py you can do in old way if you want.
On Aug 10, 2:00 pm, Sebastian Bassi wrote:
> On Tue, Aug 10, 2010 at 1:47 PM, mgrabau wrote:
>
hi all. i have an interesting problem with & in gae and wanted to see
if i could get some thoughts.
in my program, i have used & in queries many times and had it work.
for example, query A works fine:
(A) db((db.timeframe.isActive==True) &
(db.timeframe.userID==15)).select()
but query B does not:
you can do that with jquery.
for example on resize:
jQuery(window).resize(function() {
win_height = jQuery(window).height();
win_width = jQuery(window).width();
});
On Aug 10, 1:44 pm, "david.waldrop" wrote:
> How does one go about getting an appl
web2py makes semi-extensive use of the Python logging module, but (near as I
can tell) it never changes the output away from the default stdout.
Is this true, and if so isn't it a problem?
hg pull --rebase
When researching the bookmarks extension, I came across the rebase
extension (http://mercurial.selenic.com/wiki/RebaseExtension). This
did exactly what I wanted.
I had committed my routes.py which went in as changeset 760 in my
local repository. I then ran hg pull --rebase, whi
On Tue, Aug 10, 2010 at 1:47 PM, mgrabau wrote:
> By message you mean the value shown ie. "Submit"?
Yes.
> That is documented in the book, and is easy to do :
> form = SQLFORM(...fields and all that..., submit_button='The label/
> message that you want to show there')
> Book reference: http://we
By message you mean the value shown ie. "Submit"?
That is documented in the book, and is easy to do :
form = SQLFORM(...fields and all that..., submit_button='The label/
message that you want to show there')
Book reference: http://web2py.com/book/default/chapter/07?search=submit_button
Hope th
How does one go about getting an applications UX to dynamically resize
as the browser window is resized? Does web2py offer any mechanism for
this?
Hi folks,
I'm trying to run web2py using the IPython shell on my Windows 2000
machine. I have regular Python and IPython working on my machine. I
know that web2py.exe use it's own version of python. Here are the
sys.paths for each python (regular and web2py):
>>> pp.pprint(w2p_path)
['C:\\web2py\
Hello,
is it possible to create a plugin / component which expands the
functionality of plugin_wiki?
If so, then It would be great if this could be added to the Chapter
13.
Thanks.
I wanted to customize the message on the submit button of a form
generated from SQLFORM.
The closest thing I found on the web was this outdated link:
http://www.web2py.com/AlterEgo/default/show/205
On the book, there is only a reference for changing the label of the
form generated by CRUD:
7.4.2
Me
Hmmm no. Its no ok. The response is repeating TR tag for each
element... and is using a TD tag too
I believe this is the correct code
>>> THEAD(TR(TH("a"), TH("b"))).xml()
'ab'
On 9 ago, 19:03, mdipierro wrote:
> It is a bug. Fixed in trunk:
>
> >>> THEAD('a','b').xml()
>
> 'ab'
>
> On Aug 9, 2
Thanks. That is useful.
Regards
Johann
--
"Be not deceived; God is not mocked: for whatsoever a
man soweth, that shall he also reap."
Galatians 6:7
Rob,
I haven't used the bookmark extension. I'll go check that out.
Thanks for the tip.
-Mike
On Mon, Aug 9, 2010 at 10:00 PM, Rob wrote:
> You could use the hg bookmark extension and keep 2 local branches.
> One branch for upstream code and the other branch for your own
> changes. Before you
Just return a dictionary with the properties you defined in the auth
table in db.py.
For instance to use facebook with oauth20_account you need to override
get_user() method in the OAuthAccount class as you need.
Below is how I implement it for the test application on
http://grafbook.appspot.com/h
All seem to working fine for me, in some titles you have gray
background and gray titles. I am on online version. There is a minimal
bug when you expand, seem that collapsing and then expand, perhaps
some waiting text or some that say "i am loading the element in the
three"
On Aug 10, 8:05 am, sel
:) yes you are right. If you are attach to this example, and this js,
you can make read only input i think with writable=False and
readable=True. And add check like IS_FLOAT and put default value like
default=0 to lat and long.
On 9 ago, 22:51, Rob wrote:
> If anyone can write a tutorial using ba
Is db(somequery).select(db.sometable.ALL, limitby=(1000, 10))
supported on Google App Engine? I couldn't find anything about
it not being supported in the docs, but I just want to be sure.
Form not displaying in IE was caused by other Jquery stuff on the page.
Sorry for bothering you.
However, redirection doesn't work in IE6.
Julius
V Utorok, 10. august 2010 o 10:07 +0200, Julius Minka napísal(a):
> Massimo,
>
> I got a message from a friend telling me the form isn't displayed in
new features:
rpx login
tagging
minimal comments (this will be improved when I find out how to get the
markmin editor working for the comments)
On Aug 9, 11:10 am, selecta wrote:
> default color is now black
> the expanding of the tree is a "bug" caused by the async jquery
> treeview widget
> the
I tried to swich the seesions from file system store to database. I
have added session.connect(request, response,db) into my db.py and
could see new table created in database. But since that, I cannot
login into my application. Login dialog is displayed again and again
with no message via flash. In
Yep, that was it. Thanks a bunch Massimo!
On Tue, Aug 10, 2010 at 11:46 AM, mdipierro wrote:
> Your auth_user table is missing the reset_password_key field.
> If you use auth.define_tables(migrate=False), set migrate=True. If you
> use a custom field, add a hidden string field 'reset_password_ke
On Aug 10, 5:31 am, rochacbruno wrote:
> I think it should be better to show existing comments for non logged-in
> users. And let only logged-in to insert a new comment.
this is already there.
> Plus.. I think the comment itself, should render markmin syntax, by
> permitting only most useful
Your auth_user table is missing the reset_password_key field.
If you use auth.define_tables(migrate=False), set migrate=True. If you
use a custom field, add a hidden string field 'reset_password_key'
On Aug 10, 5:18 am, Andrew Buchan wrote:
> Should have looked more carefully, its clearly the sec
I think it should be better to show existing comments for non logged-in users.
And let only logged-in to insert a new comment.
Plus.. I think the comment itself, should render markmin syntax, by permitting
only most useful markups as **bold** etc
Sent from my iPhone
On 10/08/2010, at 07:22, se
page_edit.html
the elRTE.prototype.options.panels.web2pyPanel should also contain
'indent', 'outdent'
otherwise it is not possible to create nested (un)sorted lists
the help text for the markmin language should only displayed on mode
== 'markmin'
add on line 41 of page_edit.html
{{if DEFAULT['mode
Should have looked more carefully, its clearly the second...
On Tue, Aug 10, 2010 at 11:17 AM, Andrew Buchan wrote:
> Massimo,
>
> it's either:
>
> SELECT count(*) FROM auth_user WHERE auth_user.email='
> avalidemailaddr...@mycompany.co.uk';
>
> or
>
> UPDATE auth_user SET WHERE auth_user.id=13
Massimo,
it's either:
SELECT count(*) FROM auth_user WHERE auth_user.email='
avalidemailaddr...@mycompany.co.uk';
or
UPDATE auth_user SET WHERE auth_user.id=13;
On Tue, Aug 10, 2010 at 10:22 AM, mdipierro wrote:
> Can you determine somehow the sql statement that mssql is complaining
> abo
Can you determine somehow the sql statement that mssql is complaining
about?
On Aug 10, 3:03 am, Andrew Buchan wrote:
> Hi,
>
> When I click on the default "Lost password" link, I get to the page
> which prompts for an email address, submit, then get the following
> error:
>
> Traceback (most rec
To just make information complete I use WinXP, Python 2.6.5 . During
of todays developemnt I had to restart web2py server 3 times as Rocked
got blocked completely.
Do you advice me to use local Apache+wsgi for development?
David
On 10 srp, 10:56, David Marko wrote:
> I have added some icons and
I cannot access the slides The link links VSA Services/
I agree. Let's not bash other frameworks. It is better to leverage on
what other people and say thing like...
Everything you can do in XYZ you with web2py faster + you can do ABC.
On Aug 10, 1:38 am, Anand Vaidya wrote:
> Hi Bruno,
>
> I di
Experimentally there is a new feature in trunk.
Field('name','list:string')
Field('name','list:integer')
Field('name','list:reference other table')
and new operators
db.mytable.myfield.contains(4)
which works for list:reference, list:integer, list:string, string and
text types.
The list: type
I have added some icons and images to my app and it seems that this
fails the Rocket server. I had a core of my app almost without
graphics and everything was working very fine. Then a added some
icons, images etc. and since that the Rocker server is getting crazy.
Browser is loading page more than
V Pondelok, 9. august 2010 o 15:05 -0700, mdipierro napísal(a):
> This worked for me:
>
> http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-fedora.sh
>
I believe it was not clean install and all dependencies were met before
running this script. Or?
Julius
> On Aug 9, 3:06 p
Massimo,
I got a message from a friend telling me the form isn't displayed in IE8
at all.
It is from my application available at http://93.184.68.161:/real
If you would like to see the response from the search you need to choose
Predaj
Prievidza
2-izbovy byt
Webpage error details
User Age
Hi,
When I click on the default "Lost password" link, I get to the page
which prompts for an email address, submit, then get the following
error:
Traceback (most recent call last):
File "C:\Program Files\Hub Pages\web2py\gluon\restricted.py", line
178, in restricted
exec ccode in environmen
62 matches
Mail list logo