I've noticed that if I have mydomain.com/http://google.com?a=test it
will ignore a in path, is there anyway in routes I can convert ? to
safe text? I've created a tinyurl.com but better in web2py. This is my
last problem before I update the look and make it opensource :)
say if you are at
I noticed that if i create a new application and then press the return
button in my browser, web2py will try to resubmit the form. For what i
understand, this happens because there should be a redirect after the
form submission. Is this correct? Was this behavior planned?
Entrando!!!
On 11 abr, 17:10, pirata.dabaixada pirata.dabaix...@gmail.com
wrote:
Já entrei !
g-man escreveu:
Tudo bem!
On Apr 11, 11:35 am, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
Para quem fala Português, entre agora mesmo na lista de usuários
brasileiros do
hi all, how can I verify if there are users currently connected to my
web2py application? I just want to know if there is at least one. The
evolution of this question could be: how could I notify my app's users
that I will stop the application for maintenance?
thanks for hints,
Marco
Hi! I'm new to web2py(as new as it gets), and i'm having some trouble
with authentication stuff. Like, how to reference to it in db.py and
stuff. So, if someone could tell me of a nice article covering the
subject, i would love to read it = ]
--~--~-~--~~~---~--~~
Nice =D I made a forum myself some time ago, with django, and yours
looks great!
On 14 abr, 01:28, Speedbird ju...@techfuel.net wrote:
Released a couple of minutes ago, the update contains Pseudo-html code
support added, and a little bit of code cleanup, read what this update
contain
I am using this now...
http://mdp.cti.depaul.edu/AlterEgo/default/show/101
On Tue, 2009-04-14 at 00:51 -0700, Italo Maia wrote:
Hi! I'm new to web2py(as new as it gets), and i'm having some trouble
with authentication stuff. Like, how to reference to it in db.py and
stuff. So, if someone
Err... oops..
http://mdp.cti.depaul.edu/examples/default/tools#authentication
This will help a lot more.
BR
-Jason
On Tue, 2009-04-14 at 00:51 -0700, Italo Maia wrote:
Hi! I'm new to web2py(as new as it gets), and i'm having some trouble
with authentication stuff. Like, how to reference to it
Thanks Julio,
I changed some things around but still have not got it working. Here
is my code:
now I have a problem with id
model:
db.define_table(prodj,
SQLField(timestamp,'datetime',default=now),
SQLField(uuid,length=128,writable=False,default=str(uuid.uuid4
())),
Cool, thanks :-)
On Apr 10, 6:13 pm, mdipierro mdipie...@cs.depaul.edu wrote:
db(db.name.like('%alex%)).select()
On Apr 10, 4:04 pm, web2py at technicalbloke.com
technicalbl...@googlemail.com wrote:
I can't seem to find a clear example of using 'like' in database
selects.
I'd like
cool, keep up the good work!
On Apr 14, 9:54 am, Italo Maia italo.m...@gmail.com wrote:
Nice =D I made a forum myself some time ago, with django, and yours
looks great!
On 14 abr, 01:28, Speedbird ju...@techfuel.net wrote:
Released a couple of minutes ago, the update contains Pseudo-html
Hi!
I tested with 1.60 and that query still doesn't work. Can this be
resolved?
Btw, is it possible to use the Entity key instead of an incrementing
id? May be that would work?
Thank you
Ramon
On Mar 9, 3:07 am, rbuc thatvet...@gmail.com wrote:
Hi!
any progress on this? the query doesn't
I don't follow. What does the shell choice got to do with tickets,
especially in this (automated invocation) context ?
On Apr 13, 6:59 am, Yarko Tymciurak yark...@gmail.com wrote:
...and even worse, the shell could be any number of applications (well -
python or ipython at least...)
On Wed,
Yes, that syntax would cover it (not sure how obvious it would be to
newbies, though).
Massimo: the result should be something like user input string LIKE
table.keyword_column
On Apr 13, 3:30 pm, Wes James compte...@gmail.com wrote:
On Sat, Apr 11, 2009 at 11:20 PM, mdipierro
Hint:
I don't believe You can notify user's - except if You have a
javascript, which pulls notifications (if any) from the server (with
certain intervals).
Regards Niels Bjerre
On Apr 14, 9:40 am, Marco Prosperi marcoprosperi...@gmail.com wrote:
hi all, how can I verify if there are users
Hint
You could save session-records to the database and se who has recently
started a session (Modified Datetime). But it is difficult to notify
the user - except when he calls a controller/function.
On Apr 14, 9:40 am, Marco Prosperi marcoprosperi...@gmail.com wrote:
hi all, how can I verify
this line
discuss=db(db.discuss.id==prodj.id).select(orderby=~db.discuss.score)
should be
discuss=db(db.discuss.id==prodj).select(orderby=~db.discuss.score)
On Apr 14, 4:52 am, murray3 ch...@murraypost.net wrote:
Thanks Julio,
I changed some things around but still have not got it working.
I think the forum is excellent but you need a better logo image. ;-)
On Apr 14, 5:13 am, rbuc thatvet...@gmail.com wrote:
cool, keep up the good work!
On Apr 14, 9:54 am, Italo Maia italo.m...@gmail.com wrote:
Nice =D I made a forum myself some time ago, with django, and yours
looks
Please use 1.61 (it is faster on GAE).
That query still does not work.
On Apr 14, 5:12 am, rbuc thatvet...@gmail.com wrote:
Hi!
I tested with 1.60 and that query still doesn't work. Can this be
resolved?
Btw, is it possible to use the Entity key instead of an incrementing
id? May be that
Hi,
I'm a newbie for this framework, so i'm facing problems using
Ajax. I actually want to create a form with a select option for the
user. Based on the selection he makes, another select menu should be
displayed with a few more options. And based on this selection, yet
another selection
I've created a simple appliance, and it needs to be in Chinese as
default language, En as a fall back.
Setting it using browser is not ideal as users are multi-lingual and
probably accessing from public computer.
I've tried putting this into the controller but to no avail.
def index():
T.force('en-zh')
On Apr 14, 6:20 am, CK Ng nicec...@gmail.com wrote:
I've created a simple appliance, and it needs to be in Chinese as
default language, En as a fall back.
Setting it using browser is not ideal as users are multi-lingual and
probably accessing from public computer.
I've
with press the return button in my browser, do you mean the back
button?
I am not sure how to avoid this. Any advice?
Massimo
On Apr 14, 2:09 am, Italo Maia italo.m...@gmail.com wrote:
I noticed that if i create a new application and then press the return
button in my browser, web2py will
I usually do
db(db.name.like('%'+user_input_string+'%')).select()
On Apr 14, 6:51 am, AchipA attila.cs...@gmail.com wrote:
Yes, that syntax would cover it (not sure how obvious it would be to
newbies, though).
Massimo: the result should be something like user input string LIKE
+1 :)
On Tue, Apr 14, 2009 at 4:36 AM, Italo Maia italo.m...@gmail.com wrote:
Entrando!!!
On 11 abr, 17:10, pirata.dabaixada pirata.dabaix...@gmail.com
wrote:
Já entrei !
g-man escreveu:
Tudo bem!
On Apr 11, 11:35 am, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
I'm struggling setting up web2py with Apache2 and mod_wsgi. I've
followed the manual, (page 205) mainly--
Alias / /home/web2py/applications/
## setup WSGI
WSGIScriptAlias / /home/web2py/wsgihandler.py
WSGIDaemonProcess web2py user=www-data group=www-data
home=/home/web2py/ 12 processes=10
That won't match because of the (potential) extra characters in
user_input_string. Imagine user_input_string is web2py python web
framework and the keyword in the database is %python%.
On Apr 14, 1:51 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I usually do
On Tue, Apr 14, 2009 at 3:11 AM, Nazgi mara.ku...@gmail.com wrote:
Hi,
I'm a newbie for this framework, so i'm facing problems using
Ajax. I actually want to create a form with a select option for the
user. Based on the selection he makes, another select menu should be
displayed with a
I must insert information to the same table from three different
SQLFORMs, as if it was a wizard.
form1 - form2 - form3.
In every form I force a field determined to take certain value.
Except this field the others can be the same that the previous form.
I want is to be able to fill the form
def form1():
form=FORM()
if form.accepts(request.vars):
session.vars=form.vars
redirect(URL(r=request,f='form2'))
return dict(form=form)
def form2():
if not session.vars: redirect(URL(r=request,f='form1'))
form=FORM()
if
any ideas?
Thank you in advance :)
On Apr 14, 1:42 am, ceej cjlaz...@googlemail.com wrote:
I've noticed that if I have mydomain.com/http://google.com?a=testit
will ignore a in path, is there anyway in routes I can convert ? to
safe text? I've created a tinyurl.com but better in web2py. This
The issue I raised coincides with what iceberg has described. I also
agree with Yarko on the data persistence as a backend. But db in ram
would be amazing as you can seamlessly use all DAL features !
Hopefully if we can get more traction on this feature.
On Apr 14, 9:31 am, Yarko Tymciurak
On 14 abr, 15:18, mdipierro mdipie...@cs.depaul.edu wrote:
def form1():
form=FORM()
if form.accepts(request.vars):
session.vars=form.vars
redirect(URL(r=request,f='form2'))
return dict(form=form)
def form2():
if not session.vars:
Notifications could be done by view-template panels that update system
status (and perhaps nothing by default).Start reading:
http://en.wikipedia.org/wiki/Push_technology
2009/4/14 notabene niels...@gmail.com
Hint
You could save session-records to the database and se who has recently
No routes does not see the path_info but that should transparently be
passed to your app.
On Apr 14, 10:27 am, ceej cjlaz...@googlemail.com wrote:
any ideas?
Thank you in advance :)
On Apr 14, 1:42 am, ceej cjlaz...@googlemail.com wrote:
I've noticed that if I have
On Tue, Apr 14, 2009 at 8:32 AM, mdipierro mdipie...@cs.depaul.edu wrote:
this line
discuss=db(db.discuss.id==prodj.id).select(orderby=~db.discuss.score)
should be
discuss=db(db.discuss.id==prodj).select(orderby=~db.discuss.score)
You use prodj 3 ways, so this is really hard to read.
function! - what function do you wnat?
tokens=parcel(user_input_string)
for token in parcel(user_input_string):
db(db.name.like('%'+token+'%').select()
(I leave it to you to coalesce to a single where phrase)
On Tue, Apr 14, 2009 at 9:39 AM, AchipA attila.cs...@gmail.com wrote:
That
you may need to set other things... (servername?)
See if http://forum.webfaction.com/viewtopic.php?pid=8473#p8473
provides any hints for you
On Tue, Apr 14, 2009 at 9:27 AM, Mark Larsen larsen...@gmail.com wrote:
I'm struggling setting up web2py with Apache2 and mod_wsgi. I've
followed
I think we need
db(db.table.field.contains_any(tokens)).select()
db(db.table.field.contains_all(tokens)).select()
I may have this already somewhere. I will add to 1.62 by next week.
Massimo
On Apr 14, 11:28 am, Yarko Tymciurak yark...@gmail.com wrote:
function! - what function do you wnat?
Could you create a global variable.
Have it check it, like we do with the response.flash stuff.
if the value exists then show a modal popup with js or something
similar.
Regards,
Jason Brower
On Tue, 2009-04-14 at 05:01 -0700, notabene wrote:
Hint
You could save session-records to the
On Apr 12, 10:39 pm, Skip Montanaro skip.montan...@gmail.com wrote:
I'm trying to get web2py installed and running w/ WSGI on an Ubuntu
Intrepid virtual server. Apache by itself was working just fine. After
installing WSGI and setting up web2py using these instructions:
On Tue, Apr 14, 2009 at 11:18 AM, mdipierro mdipie...@cs.depaul.edu wrote:
but the user can already define its own
parse(text)
and use it
db.define_table(*parse(text))
H not pre-this discussion. Anyway, if you are talking about parsing
to create one string so that your
On Tue, Apr 14, 2009 at 11:56 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I think we need
db(db.table.field.contains_any(tokens)).select()
db(db.table.field.contains_all(tokens)).select()
I like this - between your original suggestion (the entire user string) any
and all ... this could
On Tue, Apr 14, 2009 at 10:49 AM, mdipierro mdipie...@cs.depaul.edu wrote:
with press the return button in my browser, do you mean the back
button?
I am not sure how to avoid this. Any advice?
It's a Django way of develop that I like. Django's manual teach some
good Web programming
On Tue, Apr 14, 2009 at 1:13 PM, Álvaro Justen [Turicas]
alvarojus...@gmail.com wrote:
On Tue, Apr 14, 2009 at 10:49 AM, mdipierro mdipie...@cs.depaul.edu
wrote:
with press the return button in my browser, do you mean the back
button?
I am not sure how to avoid this. Any advice?
On Tue, Apr 14, 2009 at 2:09 AM, Italo Maia italo.m...@gmail.com wrote:
I noticed that if i create a new application and then press the return
button in my browser, web2py will try to resubmit the form. For what i
understand, this happens because there should be a redirect after the
form
Alvaro is right. This is a bug in the admin app. The site page does
not redirect to self after form submission. I will fix it tonight.
Massimo
On Apr 14, 1:25 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Tue, Apr 14, 2009 at 2:09 AM, Italo Maia italo.m...@gmail.com wrote:
I noticed that
On Tue, Apr 14, 2009 at 12:27 PM, ceej cjlaz...@googlemail.com wrote:
any ideas?
Thank you in advance :)
On Apr 14, 1:42 am, ceej cjlaz...@googlemail.com wrote:
I've noticed that if I have mydomain.com/http://google.com?a=testit
will ignore a in path, is there anyway in routes I can
You right. I am adding something along these lines. ...
On Apr 14, 1:41 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
On Tue, Apr 14, 2009 at 12:27 PM, ceej cjlaz...@googlemail.com wrote:
any ideas?
Thank you in advance :)
On Apr 14, 1:42 am, ceej cjlaz...@googlemail.com
I'm wondering if anyone has tips on where I should start in trying to
track down performance problems running my web2py application on GAE.
Initially I created an application using only the api's supplied by
GAE. This app was very fast in terms of response times.
I've since recreated and updated
Thanks for your time guy's. I will heed your advice regarding code.
cnhrism
On Apr 14, 5:20 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Tue, Apr 14, 2009 at 8:32 AM, mdipierro mdipie...@cs.depaul.edu wrote:
this line
I do not know how to profile on GAE.
There are some things to consider:
0) make sure you use the provided gaehandler.py
1) you get the benefit of chaching bytecode compiler models and
actions only if the page if accessed often
2) you will get a speed up if you use memcache session instead of
Some ideas:
There is a log_stats decorator in gaehandler.py that can be
uncommented and enabled in production to give a more precise timing
profile than the log coarse timing.
The main caching mechanism is in compileapp.py and the compiled code
should be cached in a dict called 'cfs' which can
Yeah, that was a failed attempt of creating something in gimp in
like 20 minutes :D
I'll see what I can come up with in the next few weeks..
On Apr 14, 6:34 am, mdipierro mdipie...@cs.depaul.edu wrote:
I think the forum is excellent but you need a better logo image. ;-)
On Apr 14, 5:13 am,
Another trick is put as much code you can in a module (in yourapp/
modules/) as and just call that from your models and controllers.
Massimo
On Apr 14, 3:38 pm, Robin B robi...@gmail.com wrote:
Some ideas:
There is a log_stats decorator in gaehandler.py that can be
uncommented and enabled
Yes, there should be a gluon/settings.py that was not there before.
Did you use bzr, svn or the source from the web page?
Massimo
On Apr 14, 3:42 pm, Gary gary.k.ma...@gmail.com wrote:
I updated to 1.62 this morning and made two changes in the views.
When I uploaded to GAE, the application
Source from the web page.
On Apr 14, 5:08 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Yes, there should be agluon/settings.py that was not there before.
Did you use bzr, svn or the source from the web page?
Massimo
On Apr 14, 3:42 pm, Gary gary.k.ma...@gmail.com wrote:
I updated to
This is very impressive. How long did it take you to do the web2py
portion and the UI portion? I'm just learning Python, and this is one
of the nicest web2py sites that I've seen.
Mike
On Apr 14, 1:43 pm, Speedbird ju...@techfuel.net wrote:
Yeah, that was a failed attempt of creating
I just downloaded it again and the settings.py is there and works fine
for me. Please download it again.
Massimo
On Apr 14, 4:10 pm, Gary gary.k.ma...@gmail.com wrote:
Source from the web page.
On Apr 14, 5:08 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Yes, there should be
Could you post your apache and wsgi config files?
On Apr 14, 12:04 pm, Fran francisb...@googlemail.com wrote:
On Apr 12, 10:39 pm, Skip Montanaro skip.montan...@gmail.com wrote:
I'm trying to get web2py installed and running w/ WSGI on an Ubuntu
Intrepid virtual server. Apache by itself
I added it to the list:
http://www.appliedstacks.com/NewestFirst/web2py
Massimo
On Apr 14, 4:44 pm, mikech mp.ch...@gmail.com wrote:
This is very impressive. How long did it take you to do the web2py
portion and the UI portion? I'm just learning Python, and this is one
of the nicest
On Tue, Apr 14, 2009 at 6:50 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I just downloaded it again and the settings.py is there and works fine
for me. Please download it again.
How web2py_src.zip is created in server? Some time ago I had a problem
downloading this file (error 404). Is there
No good : /. Couldn't find a example referencing an user model : /.
On 14 abr, 05:09, Jason Brower encomp...@gmail.com wrote:
Err... oops..http://mdp.cti.depaul.edu/examples/default/tools#authentication
This will help a lot more.
BR
-Jason
On Tue, 2009-04-14 at 00:51 -0700, Italo Maia
I will amend it. You can do this
auth=Auth(globals(),db)
db.define_table('auth_user',
SQLField('first_name',length=128),
SQLField('last_name',length=128),
SQLField('password','password',requires=CRYPT()),
SQLField('registration_key',length=128))
On Tue, Apr 14, 2009 at 3:43 PM, Speedbird ju...@techfuel.net wrote:
Yeah, that was a failed attempt of creating something in gimp in
like 20 minutes :D
I'll see what I can come up with in the next few weeks..
I ran accross this the other night - you might find it interesting (a
graphic
unique field attribute is not there, though i could find it in the
cheatsheet.
link : http://mdp.cti.depaul.edu/examples/default/dal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post
I have been experiencing some issues with pack all, and attempting
to deploy an app on a different web2py instance.
Long version: (for others that might be experiencing the same thing)
My dev machine is a mac and the other test bed box is a windows vm
(not that it matters). I was seeing some
Thank you for the tips. I'll work through these and determine if I can
find a specific root cause of the performance problem.
I've been testing on a particular page of the application that lists a
number of items along with thumbnail images for those items. The
thumbnails are images placed into
cool!
On Apr 14, 5:51 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Tue, Apr 14, 2009 at 3:43 PM, Speedbird ju...@techfuel.net wrote:
Yeah, that was a failed attempt of creating something in gimp in
like 20 minutes :D
I'll see what I can come up with in the next few weeks..
I ran
Is this reproducible? Does the browser make a difference?
Can you try delete everything under web2py/deposit and try again?
Massimo
On Apr 14, 7:58 pm, John ponti...@gmail.com wrote:
I have been experiencing some issues with pack all, and attempting
to deploy an app on a different web2py
Whatever you discover please let us know. It will help us improve.
Massimo
On Apr 14, 8:26 pm, Ted G tedg...@gmail.com wrote:
Thank you for the tips. I'll work through these and determine if I can
find a specific root cause of the performance problem.
I've been testing on a particular page
I have been thinking about this. Even if I do not like your proposal
Yarko, I think you have a better point than you think. In fact
form_factory would not work with my proposal syntax but it would work
with yours and that is a big plus in your favor.
I am tired so I think I am going to sleep on
fixing now! Thanks
On Apr 14, 5:59 pm, Italo Maia italo.m...@gmail.com wrote:
unique field attribute is not there, though i could find it in the
cheatsheet.
link :http://mdp.cti.depaul.edu/examples/default/dal
--~--~-~--~~~---~--~~
You received this message
It is reproducible (at least on my machine).
Same problem with Firefox 3 and Safari 4beta. The tar file placed in
web2py/deposit exhibits the same problem as the file that is
downloaded. Both files are identical as verified by md5 checksums, so
it is not happing during the transfer, but with I
There is a python 2.5 requirement mostly because that is what I
tested.
This looks like a bug in the tar module that ships with 2.6.1.
Massimo
On Apr 14, 10:04 pm, John ponti...@gmail.com wrote:
It is reproducible (at least on my machine).
Same problem with Firefox 3 and Safari 4beta. The
75 matches
Mail list logo