Hello all,
Sorry again ...
As I'm a real beginner with Python, Web2py and GAE. My question is I
don't understand how to export my web2py application to GAE.
I know that I have to make (or verify) some modifications on database
(for example) in my code ... But how to export the application ?
Does
You can deploy to GAE using the standard GAE-procedure, but note, that
you will need the source distribution of web2py and to change the app
name from web2py to yourapp.appspot.com
Daniel
On Mon, Nov 3, 2008 at 09:35, dme69 [EMAIL PROTECTED] wrote:
Hello all,
Sorry again ...
As I'm a real
Hi,
On Nov 3, 12:14 pm, David Marko [EMAIL PROTECTED] wrote:
Does it mean, that I export the entire web2py with all applications,
so under one 'yourapp.appspot.com ' account I can run many web2py
apps?
Yes, that's right.
Basically, from the perspective of Google App Engine, the entire
Cambia l'ultima linea da
db.mezzi.tipom.requires=IS_IN_DB(db,'tipom.id','tipom.tipo')
a
db.mezzi.mezzo.requires=IS_IN_DB(db,'tipom.id','tipom.tipo')
altri suggerimenti:
SQLField('alimentazione','string')
db.mezzi.associazione.requires=IS_IN_DB(db,'associazioni.id','%
(nome)s')
• I am trying to see the result of the sample “images” in
“web2py_manual_cut.pdf” .
After copy and paste db.py from the “web2py_manual_cut.pdf” ,
db.images and
db.comments are perfectly existing and working under database
adminstration.
• But after writing(copy and paste) default.py an error
Hi,
Should be A(..., *_*target = _blank)
(you're missing an underscore in _target)
Deodoro Filho
On Mon, Nov 3, 2008 at 10:28 AM, annet [EMAIL PROTECTED] wrote:
In one of my views I have got a table in which one of the td/td
element reads like:
Back to the ever-present issue of (better) error-handling. This time,
I've got code!
Anyway, to catch you guys up, we last left this at Massimo liking the
idea of using @onerror decorators
(http://mdp.cti.depaul.edu/AlterEgo/default/show/75) to trap errors.
His reasoning is his own, but I
bug. will be fixed.
On Nov 3, 1:29 am, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi all,
I've noticed a possible bug with the IS_URL validator (web2py v.1.47):
The following is accepted as we would expect:
http://localhost
However, the following is not accepted:
http://localhost:8080
Let me look into that. You may be right. I never tried to do that.
On Nov 3, 10:05 am, José Deodoro de Oliveira Filho
[EMAIL PROTECTED] wrote:
Hi,
I wrote some code that wraps up a SQLFORM into a DIV such as:
def layout_form(item):
f = SQLFORM(db.whatever, item)
return DIV(f,
Yes, that should be a simple change. Any other comments? Anyone?
mdipierro wrote:
Thanks Tim,
this is very close to what I had in mind so I think this will go in.
But let me ask you for one change. Instead of
error_destinations = {
'400' : '/init/error/invalidPath',
'default'
I received your answer just in 5 minutes.
Now, I belive w2py support is realy efficent
Your codes solved the problem
Thank you very much.
Now I am going to order the new manual.
But your speed in support is realy wounderfull
Thank you again for everything..
On 3 Kasım, 17:11, mdipierro
Thanks. I try to answer fast but there are many knowledgeable people
here who often beat me!
Massimo
On Nov 3, 10:25 am, cevdetural [EMAIL PROTECTED] wrote:
I received your answer just in 5 minutes.
Now, I belive w2py support is realy efficent
Your codes solved the problem
Thank you very
There is a local problem here.
Right now you can do
form1=SQLFORM(db.table1)
form2=SQLFORM(db.table2)
form1.accepts(request.vars,formname='form1')
form2.accepts(request.vars,formname='form2')
div=DIV(form1,form2)
return dict(div=div)
Now you want to do
form1=SQLFORM(db.table1)
On Sat, Nov 1, 2008 at 10:18 AM, mdipierro [EMAIL PROTECTED] wrote:
Exellent point but there is a much easier solution.
script
$(document).ready(function() { $
(input:visible:enabled:first).focus(); });
/script
This will always focus the first visible field of the first form.
I now
fixed in trunk.
On Nov 3, 8:01 am, mdipierro [EMAIL PROTECTED] wrote:
bug. will be fixed.
On Nov 3, 1:29 am, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi all,
I've noticed a possible bug with the IS_URL validator (web2py v.1.47):
The following is accepted as we would expect:
If this is implemented as a list I think the order in the list gives a
precedence.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
its always the little things that get you...the details...just a
little semicolon! I really should have caught that... oh well, that's
late-night coding for ya'. Thanks again!
On Nov 3, 12:24 am, mdipierro [EMAIL PROTECTED] wrote:
check he source. web2py is not escaping it. The problem is
Timothy,
Thanks for your reply, but what about opening a new window when
clicking an a/a element.
Annet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email
Ok, this brings up a question though...
Which takes precedence, app defaults or error code defaults?
Let's say I have:
routes_onerror = [
('init/400','/init/error/invalidPath1'),
('*/500','/init/error/invalidPath2'),
('init/*','/init/error/invalidPath3'),
I know this is not cool but it will be easier for me to explain my
case ... So I will continue in french (for a short time) ...
Jonathan,
Si je développe mon application dans Web2py (que je trouve plutôt
sympa pour des choses comme les formulaires par exemple), qu'est-ce
que je dois faire pour
Massimo,
Thanks, your reply solved my problem.
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
When I do make app with svn'd web2py it tries to ssh to a location -
kind of odd
-wes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Could you explain better?
web2py should not try to ssh anybody. Are you saying the osx version
of web2py does that? What do you mean by svn'd?
Massimo
On Nov 3, 2:25 pm, Wes James [EMAIL PROTECTED] wrote:
When I do make app with svn'd web2py it tries to ssh to a location -
kind of odd
There is this already
http://mdp.cti.depaul.edu/AlterEgo/default/show/101
I could make it more detailed if you think it is necessary.
Massimo
On Nov 3, 2:50 pm, JorgeRpo [EMAIL PROTECTED] wrote:
good answer. i had the same doubt too.
I just had an idea.
Can you write a tutorial on how to
On Mon, Nov 3, 2008 at 1:59 PM, mdipierro [EMAIL PROTECTED] wrote:
Could you explain better?
web2py should not try to ssh anybody. Are you saying the osx version
of web2py does that? What do you mean by svn'd?
Massimo
I downloaded web2py with svn (svn'd = download with svn)
i then do
When I click on a recipe to show it from the cookbook example I've
followed from cookbook.pdf, I get:
Traceback (most recent call last):
File gluon/restricted.pyc, line 62, in restricted
File
/Users/xmac/0scripts/dist/web2py.app/Contents/Resources/applications/cookbook/controllers/test.py,
Still bug.
On Nov 3, 5:15 pm, mdipierro [EMAIL PROTECTED] wrote:
fixed in trunk.
On Nov 3, 8:01 am, mdipierro [EMAIL PROTECTED] wrote:
bug. will be fixed.
On Nov 3, 1:29 am, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi all,
I've noticed a possible bug with theIS_URLvalidator
On Mon, Nov 3, 2008 at 2:50 PM, Wes James [EMAIL PROTECTED] wrote:
When I click on a recipe to show it from the cookbook example I've
followed from cookbook.pdf, I get:
Traceback (most recent call last):
File gluon/restricted.pyc, line 62, in restricted
File
nevermind - found a typo in
It's interesting that the creator of Web2py is also the head of the
Computational Finance in DePaul.
Will we see some apps for Computational Finance in Web2py like option
pricing or other statistics tools or even a derivative market emulation?(My
imagination)
I am always suspicious of the
You do not need to run make app since the osx app is already posted
on the web page.
If you really want to make your own app, comment that line from the
Makefile. That is what I use to publish the app on the server.
Sorry for the confusion.
Massimo
On Nov 3, 3:47 pm, Wes James [EMAIL
On Mon, Nov 3, 2008 at 3:25 PM, mdipierro [EMAIL PROTECTED] wrote:
You do not need to run make app since the osx app is already posted
on the web page.
But I wanted to get your go-to-first-field.focus() update
thx,
-wj
--~--~-~--~~~---~--~~
You received
Interesting... :)
On Mon, Nov 3, 2008 at 23:26, mdipierro [EMAIL PROTECTED] wrote:
You reading my mind. I am going to let some of the students on this
list to answer, Their deadline is next week.
Massimo
--~--~-~--~~~---~--~~
You received this message
The ssh-command would just copy your local file to the remote server.
So you can't 'get' anything from it. (scp = secure shell copy)
Daniel
On Mon, Nov 3, 2008 at 23:39, Wes James [EMAIL PROTECTED] wrote:
On Mon, Nov 3, 2008 at 3:25 PM, mdipierro [EMAIL PROTECTED] wrote:
You do not need to
The source code is at
http://mdp.cti.depaul.edu/examples/static/sqldesigner.tar
but it is only clientside so you can just download the javascript. It
is still alpha.
Massimo
On Nov 3, 4:40 pm, Wes James [EMAIL PROTECTED] wrote:
How do I import in to the sqlbuilder here:
On Mon, Nov 3, 2008 at 3:55 PM, mdipierro [EMAIL PROTECTED] wrote:
The source code is at
http://mdp.cti.depaul.edu/examples/static/sqldesigner.tar
but it is only clientside so you can just download the javascript. It
is still alpha.
snip
Ok - i'll look at it thx.
-wj
Hello,
I started writing tool to create model from existing PostgreSQL
database.
At first I created cookbook db via web2py and now I translate it back
from
PostgreSQL schema to web2py model.
I have mapped tables and columns and even foreign keys
if they point to 'id' column of other table.
But
To Tommy Zhu:This system is interesting. But I have some questions about the
project.
1)Are the datas about the stock price as same as real Nasdaq or
Dowjones.My opinion is that NO is better because if the datas are the same
as the Nasdaq, the game players can not discover their impact on the
Yes the validator are applied to forms only but you can also do
SQLField('name',notnull=True,unique=True)
and if web2py is creating the table, the constraints will be enforced
by the db.
Massimo
On Nov 3, 4:59 pm, michal niklas [EMAIL PROTECTED] wrote:
Hello,
I started writing tool to
The creator of Amy was (is?) on this list. Long ago he sent me this
file:
http://groups.google.com/group/web2py/web/eamy_offline.zip
It almost worked. Here i his email:
--- begine quote ---
Here it goes,
the interesting stuff for you is in the eamy/eamy.js file starting at
line 8060. right
Hi David,
On Nov 3, 12:14 pm, David Marko [EMAIL PROTECTED] wrote:
Does it mean, that I export the entire web2py with all applications,
so under one 'yourapp.appspot.com ' account I can run many web2py
apps?
Yes, that is correct. However, as Massimo points out, in web2py/
app.yaml you can
Hi,
a couple of T2 questions:
Is this the latest code:
http://mdp.cti.depaul.edu/examples/static/web2py.app.plugin_t2.tar
and is there a difference to bzr branch lp:~mdipierro/t2/main
Thanks!
Daniel
--~--~-~--~~~---~--~~
You received this message because you
From now on all patches longer than 3 lines MUST be posted to
launchpad otherwise I cannot keep track of them.
Thanks.
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to
On Nov 4, 8:50 am, mdipierro [EMAIL PROTECTED] wrote:
Jonathan, excellent tutorial. Would you create an alterego page about
it? I will post it.
I'd be happy to. First I'd like to see what feedback I get though, so
that the AlterEgo version is correct.
What formatting system do you use for
LOL
the problem is not writing the regex, it is figuring out what should
be validated and what not.
The current version was the result of some negotiation with users.
Send me a patch and if no objections it will get in.
Massimo
On Nov 4, 12:49 am, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi
Jonathan, excellent tutorial. Would you create an alterego page about
it? I will post it.
Massimo
On Nov 3, 11:08 pm, Jonathan Benn [EMAIL PROTECTED] wrote:
Hi Dominique,
Your English is just fine. :) Ton français est certainement meilleur
(et meilleur que le mien), mais fait toi rien.
45 matches
Mail list logo