Hi,
I am converting my old php-flash project into web2py for GAE. Now, I am
confused about how to set param value.
FYI I used a single php file, index.php to communicate with flash.swf. So,
my other php files like login.php, logout.php, mail.php, xml.php etc used to
be called from this.
Below is
puh it`s to tricky...
i think i have to wait still there is a function to read the same xml
(for updating my tables)
which i generate automaticaly in my code.
massimo, when do you think will you release this function?
peter
On 25 Jun., 05:44, JohnMc wrote:
> Interesting xml discussion.
>
> Curi
Here it comes:
db(db.projects.is_active == True).select
(orderby=~db.projects.due_date)
The info for building this and learning is all on AlterEgo or in
slides.
/R
On Jun 25, 6:23 am, Michael wrote:
> Yea I read over the slides. I'm just having a tough time learning on
> how to write efficient
Out out safety purpose its good to have him validate the new address
with his old address.
Then its harder for some one to change address and then just do a
password recovery.
If the password is not required when doing a e-ail change and its not
by default.
/R
On Jun 25, 2:06 am, mdipierro wrot
Cleaner one:
Just find replace into this:
tel = {"SPQ": "3[1,0-3]", "SPQ": "70(1-3)" }
def get_operator(number):
import re
for key, value in tel:
if re.match(value, number):
return key
pre-compile the re before with re.compile and add then to the "tel"
array in stead to get better preform
I'm glad to report that 'password2' is now accepted by web2py auth in
revision 1072.
Tested on my local Ubuntu box.
On Thu, Jun 25, 2009 at 12:42 PM, mdipierro wrote:
>
> I may have just fixed it. Could you please check it and let me know?
>
> Massimo
>
> On Jun 24, 11:30 pm, mdipierro wrote:
>
I like to think of GAE as a relational database without JOINS and
without transactions.
With this limitations and a few caveats the the same web2py APIs that
work for relational databases work on GAE.
1) you connect with
from gluon.contrib.gql import *
db=GQLDB()
2) the id is still th
I may have just fixed it. Could you please check it and let me know?
Massimo
On Jun 24, 11:30 pm, mdipierro wrote:
> Yes, there is a bug. I will fix it tomorrow morning.
>
> Massimo
>
> On Jun 24, 10:35 pm, mdipierro wrote:
>
> > than it must be a web2py bug. Perhaps I left a "password" hardco
Hi,
I was wondering if there is any way to directly use Google app engine db
model with web2py.
It is because GAE DB model has few principles that doesn't match with other
DB. For example there is no default "auto increment" feature what we use in
mysql regularly. Also I don't know how web2py hand
Yes, there is a bug. I will fix it tomorrow morning.
Massimo
On Jun 24, 10:35 pm, mdipierro wrote:
> than it must be a web2py bug. Perhaps I left a "password" hardcoded
> somewhere?
>
> massimo
>
> On Jun 24, 10:24 pm, Alexei Vinidiktov
> wrote:
>
> > The thing is it doesn't work with either f
I put in my $0.02.
--~--~-~--~~~---~--~~
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
web2py+unsub
Yea I read over the slides. I'm just having a tough time learning on
how to write efficient queries.
I think a good project for me would be to write a 'query' builder so I
can better understand.
A better example of what I'm specifically looking to do;
I have a table called 'projects', I want to
Please email me this (again?) so that I can reproduce the problem.
Massimo
On Jun 24, 10:51 pm, Yannick wrote:
> Hello Massimo,
> Sorry to bother but was wondering if you figure out a solution for
> this since the multiple form that used to work is now not working on
> this new release...
>
> T
Hello Massimo,
Sorry to bother but was wondering if you figure out a solution for
this since the multiple form that used to work is now not working on
this new release...
Thanks,
Yannick P.
On Jun 21, 3:38 am, Yannick wrote:
> Oups actually is a copy and paste... I don't have ":" after the
> de
Interesting xml discussion.
Curious, and it is not exactly a Web2Py question, has anyone one on
the list installed/used PyQuery? I have the lxml library running but
for the life of me I can't seem to get PyQuery to install correctly.
JohnMc
On Jun 24, 7:03 pm, mdipierro wrote:
> If you use fle
Hello mate... Here is the solution from Massimo just in case you may
have the same problem.
##
Replacing the center/upload function with this will solve the problem:
def upload():
from gluon.sqlhtml import form_factory
# retrieve AlbumId
# albumNameList =
If there is a field username, it is used for login instead of email.
May need more testing that is why it is not mentioned.
Let me know if it works for you.
Massimo
On Jun 24, 10:38 pm, DenesL wrote:
> On Jun 24, 4:24 pm, mdipierro wrote:
>
> > The fields 'email', 'first_name', 'last_name', 'p
On Jun 24, 4:24 pm, mdipierro wrote:
> The fields 'email', 'first_name', 'last_name', 'password' and
> 'registration_key' are required. 'username' is optional. You can
> change any of their attributes validators (but do not make the
> registration_key shorter). You can add other fields.
Good to
125: t = self.settings.table_user
>>> t = auth.settings.table_user
--~--~-~--~~~---~--~~
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 unsubscr
than it must be a web2py bug. Perhaps I left a "password" hardcoded
somewhere?
massimo
On Jun 24, 10:24 pm, Alexei Vinidiktov
wrote:
> The thing is it doesn't work with either firebird or sqlite if the
> password field's name is 'password2'. I'll do more tests later today.
>
>
>
> On Thursday,
The thing is it doesn't work with either firebird or sqlite if the
password field's name is 'password2'. I'll do more tests later today.
On Thursday, June 25, 2009, mdipierro wrote:
>
> hmmm.. if you discover something let me know. I thought somebody had
> tested that. I did not because I do not
Most slides: Inconsistent capitalization. Some bullets have their
first word capitalized, some don't, sometimes on the same page.
17: "how to inlude" => "how to include"
58: clumsy phrasing: "allows to embed code" +. "allows embedding
code"
58: verb tense: "that are execute" => "that are exec
I have not made my mind yet. The fact is, it works great without being
part of web2py.
On Jun 24, 9:05 pm, Richard wrote:
> so will this be integrated into web2py?
> cjparsons mentioned in another thread that he has used the logging
> module without
> problems:http://groups.google.com/group/web
Try these:
new:
http://www.web2py.com/AlterEgo/default/show/232
old:
http://www.web2py.com/AlterEgo/default/edit/22
On Jun 24, 8:51 pm, Captain___nemo wrote:
> Hi,
> I am a newbie in web2py, and so far I am enjoying it :) Thanks a lot
> Massimo. Also thanks to others who contribute in this pro
I put in my 2 cents
On Jun 24, 8:25 pm, mdipierro wrote:
> http://www.reddit.com/r/programming/comments/8v7o9/what_to_choose_dja...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To po
Hi,
I am a newbie in web2py, and so far I am enjoying it :) Thanks a lot
Massimo. Also thanks to others who contribute in this project and
users as well :)
I am trying to modify my existing php-mysql site to fit for GAE. I am
looking for - how to call my existing flash file (swf) from main.py. I
so will this be integrated into web2py?
cjparsons mentioned in another thread that he has used the logging
module without problems:
http://groups.google.com/group/web2py/browse_thread/thread/55be545503b03b6e/29f816b84d202ff2
On Jun 18, 1:01 am, mdipierro wrote:
> Can you email it to me?
>
> On
neat.
On Jun 24, 6:28 am, mdipierro wrote:
> or better:
>
> db.define_table('test', SQLField('field1'), SQLField('field2'))
>
> db.test.field1.requires=IS_IN_SET(('a','b','c'))
> db.test.field1.widget = SQLFORM.widgets.radio.widget
>
> db.test.field2.requires=IS_IN_SET(('a','b','c'),multiple=T
http://www.reddit.com/r/programming/comments/8v7o9/what_to_choose_django_ruby_on_rails_or_something/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to w
Thanks. I will fix them asap.
massimo
On Jun 24, 5:37 pm, rev wrote:
> Hi,
>
> I found some typos in the web2py slides (version 1.64.4):
> 48: # the official main manu => manu = menu
> 55: redirect to login uness it finds => uness = unless
> 64: that shuould not be escaped => shuould = should
>
The process of verification is not intended to check whether the email
address is valid (although it accomplishes that) but to verify that
the registrar is who he claims to be (the owner of that email
address).
When the user changes the email address, he should not receive and
email, instead ther
If you use flex you should install pyamf and use the
@service.amfrpc
to pass data back and forth. You can find an example in AlterEgo
Massimo
On Jun 24, 4:53 pm, pk wrote:
> hmm ok i understand.
> but i need a way to update my tables in web2py if yourser change the
> values in flex.
> and tha
Hi,
I found some typos in the web2py slides (version 1.64.4):
48: # the official main manu => manu = menu
55: redirect to login uness it finds => uness = unless
64: that shuould not be escaped => shuould = should
75: SQLField is a query => SQLField = SQLQuery
77: Connect to local SQLite database
Is there a way to force a verification message/process for users that
edit their profiles and change their email addresses?
These settings are in my model definition:
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = True
Since the user has al
Thanks a lot ,I try it and it works well
Jean-Marc
--~--~-~--~~~---~--~~
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 gr
You discovered a bug in web2py_ajax.html. the calender give an error
for an INPUT field of the right class ("date" or "datetime") that does
not have an id. For now fix it by changing
INPUT(_name="datelimite",_class='datetime',requires=IS_DATETIME()),
into
INPUT(_name="datelimite",_class='dateti
definitely nicer than mine. Thanks.
--
Kuba
--~--~-~--~~~---~--~~
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,
hmm ok i understand.
but i need a way to update my tables in web2py if yourser change the
values in flex.
and that is a important function for our project.
is there another possibility to solve this?
On 24 Jun., 23:41, mdipierro wrote:
> The problem is that it is not as standard as you may thi
Here is the source code generated by firefox:
http://www.w3.org/1999/xhtml"; xml:lang="fr" lang="an">
/Demexp/default/new_Q