Good stuff, Thadeus. Thanks.
--
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
South Africa:
Results *1* - *10* of about *109,000* for *web2py
*
On Mon, Mar 29, 2010 at 5:11 AM, Vidul Petrov vidul.r...@gmail.com wrote:
109,000 from Bulgaria
On Mar 28, 3:23 am, mdipierro mdipie...@cs.depaul.edu wrote:
When you google web2py how may hits do you get? from which
Hi
in the appliacnce 'appliances'
http://web2py.com/appliances/default/show/4
there's a typo in appadmin.py line 125
except: reponse.flash='unable to parse csv file' should be except:
response.flash='unable to parse csv file'
--
You received this message because you are subscribed to the
109K in ISR
On Mar 28, 4:23 am, mdipierro mdipie...@cs.depaul.edu wrote:
When you google web2py how may hits do you get? from which country?
When I do it from the US I get ~106,000. The number has been steady
for one year. Before that is was much higher ~600,000.
When I did it from India
Hi, I've a problem with belongs. I've a page with a list of checkbox
(dog, cat, mouse, ...). For example If I choose dog and cat I'd like
execute:
select * from table where field in ('dog', 'cat')
I've written this code:
animals = request.vars.animals
res =
Canada with various language settings:
Google Site : http://www.google.ca/
Language: fr-ca
Total : 109,000
Generated URL :
http://www.google.ca/#hl=frsource=hpq=web2pymeta=aq=faqi=g3aql=oq=gs_rfai=fp=73cab96ac3bd1594
Google Site : http://www.google.ca/
Language
Hi all,
there is a simple way to run DAL oustide web2py?
I need to write a script to access to the DB using the web2py model,
something like
import myappmodel
import DAL
[...otherstuff...]
db = DAL('sqlite://storage.sqlite')
etc etc
Where can I find an example?
Thank you!
--
Software
With this code works, but I don't like this:
if type(animals) == str:
res = db(db.table.field==animals).select(db.table.ALL)
else:
res = db(db.table.field.belongs(animals)).select(db.table.ALL)
Can you say me a better method?
Thank you
On 29 Mar, 13:29, pacopyc paco...@gmail.com wrote:
Great!,
I am going to do a little research and then put together some
options / samples. Two other items I am going to look into (which are
also suggested on the ez.css page) are html5 semantics and WAI ARIA
landmark roles. Roles would require a code tweak or flag as some
(most?) validation
Perhaps a simpler set of questions:
Did you have this working with Cherrypy beforehand?
If so, is Rocket the only thing to have changed?
The latest changes to Rocket were committed to the Mercurial web2py repo
on March 18th. I'm assuming you've run a checkout since then.
-tim
On 3/28/2010
model file like this ---
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET([小王,小长,老李])),
)
db.table_contain_chinease.student_name.widget =
CheckboxesWidget.widget
-controller file like this -
def test_chinease():
form =
Sorry,
db.table_contain_chinease.student_name.widget =
CheckboxesWidget.widget
should be :
db.options_contain_chinease.student_name.widget =
CheckboxesWidget.widget
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send
---model file is like this -
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET([Jim,小长,老李])),
)
db.options_contain_chinease.student_name.widget =
CheckboxesWidget.widget
--controller file is like this -
def
---model file is like this -
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET([Jim,小长,老李],
multiple=True)),
)
db.options_contain_chinease.student_name.widget =
CheckboxesWidget.widget
--controller file is like this
Given:
db.define_table('t1',
Field('f11'),
Field('f12', 'integer'),
)
db.define_table('t2',
Field('f21'),
Field('f22', db.t1),
)
I make this query [1] (I see that you can not) but without using a
subselect
[1]
qry1 = (db.t2.f22.f12 == 10)
rows = db(qry1).select(db.t2.ALL)
How
There is something wrong with validators.py in line 289
values = re.compile([\w\-:]+).findall(str(value))
if I change it with
values = value
everything is ok
Maybe it's a bug
On 3月29日, 下午9时33分, hywang why00...@163.com wrote:
---model file is like this -
Careful -
HTML5 is behind schedule, and expected to reach standard stage in 2022
(?!)...
Hoewever, the new canvas element is supported already (so that flash /
silverlight, etc. isn't needed) --- and IE-9 might even do will with
this (the preview is out now - it seems pretty fast).
I woulnd't
On Mar 29, 8:45 am, hywang why00...@163.com wrote:
There is something wrong with validators.py in line 289
values = re.compile([\w\-:]+).findall(str(value))
if I change it with
values = value
everything is ok
Maybe it's a bug
I do not know - but to help you along a little:
See the
On Mar 29, 8:57 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
Careful -
HTML5 is behind schedule, and expected to reach standard stage in 2022
(?!)...
Hoewever, the new canvas element is supported already
... that is, supported by many browsers already; if we are going to
add any
I've had the same problem (unable to create application) on Ubuntu
JeOS 8.04.3 configured as shown at http://vimeo.com/10377947 [
web2py production deployment on vps.net (VIDEO) by mdipierro].
Ubuntu fully upgraded, web2py installed using setup-web2py-ubuntu.sh
script.
Running web2py from console
Hi Giovanni,
I had the same problem and here is my simple solution:
model.py:
from gluon.dal import DAL, Field
db = DAL(sqlite://storage.db)
db.define_table(reference,
Field(name, string, notnull=True),
Field(L, double),
Field(a, double),
Field(b,
On Mar 29, 8:33 am, hywang why00...@163.com wrote:
---model file is like this -
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET([Jim,小长,老李],
multiple=True)),
Using this last string from your IS_IN_SET example (I hope my copy/
On Mar 29, 9:27 am, ciastek ciasteczk...@gmail.com wrote:
I've had the same problem (unable to create application) on Ubuntu
JeOS 8.04.3 configured as shown athttp://vimeo.com/10377947[
web2py production deployment on vps.net (VIDEO) by mdipierro].
Ubuntu fully upgraded, web2py installed using
I tried it with sqlexecute but I would need to do quite a lot of
processing on the results...
Is there any work around you can think of? Is there any way to use
the DAL with a select statement in the format generated from _select?
Thanks,
J
On Mar 23, 9:35 pm, jonatron
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
On Mar 29, 10:04 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Mar 29, 8:33 am, hywang why00...@163.com wrote:
---model file is like this -
What can I say, I am a dreamer.
http://vishpala.com/resources/web2py/images/screenshot.png
C.
On Mar 29, 10:21 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Mar 29, 8:57 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
Careful -
HTML5 is behind schedule, and expected
Hey!
Nice to see this layout idea. I think I've suggested it a good while
ago.
One interesting thing about this approach is that you can also great
different grades of complexity. E.g. if you want to create a
minimalistic theme without images, and Tweets on the admin page you
can simply hide
On Mar 29, 10:54 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
For example, looking at
http://docs.python.org/library/codecs.html#standard-encodings
and searching for
Remotely administer error tickets from your mobile phone!
-Thadeus
On Mon, Mar 29, 2010 at 8:12 AM, blackthorne francisco@gmail.com wrote:
Hey!
Nice to see this layout idea. I think I've suggested it a good while
ago.
One interesting thing about this approach is that you can also
I almost want to say that as long as it is still a python object it
should stay python objects.
That being said, we already have the datetime_to_str flag, leave the
defaults as they were if someone wants it differently they can alter
the flag.
-Thadeus
On Sun, Mar 28, 2010 at 10:09 AM,
They should both operate the same in any case.
-Thadeus
On Mon, Mar 29, 2010 at 12:00 PM, Thadeus Burgess thade...@thadeusb.com wrote:
I almost want to say that as long as it is still a python object it
should stay python objects.
That being said, we already have the datetime_to_str
Alternatively if this is just a script (like cron) or a simple program
and you do not mind loading the entire web2py environment
python web2py.py -S welcome -M -R /path/to/my/script.py
-S denotes the app name, -M denotes execute models and -R is the path
to the script to execute in the
On Mar 29, 1:00 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Remotely administer error tickets from your mobile phone!
You get error tickets? Really?! ... ;-)
But, actually - it would be nice to get private tweets from sites you
manage w/ links you could follow remotely if you wanted
I don't, but in any case its still a nice bargaining chip for a company iphone.
-Thadeus
On Mon, Mar 29, 2010 at 12:17 PM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
You get error tickets? Really?! ... ;-)
But, actually - it would be nice to get private tweets from sites
I was having slowness problems with cherrypy too! That's why I
switched to rocket. So perhaps it's something common to cherrypy and
rocket, or perhaps they are both slow in their own ways?
This is using web2py from march 16th, so it's not the latest rocket.
Do you think something important
On 3/29/2010 1:39 PM, Michael Toomim wrote:
I was having slowness problems with cherrypy too! That's why I
switched to rocket. So perhaps it's something common to cherrypy and
rocket, or perhaps they are both slow in their own ways?
This is using web2py from march 16th, so it's not the latest
Hi,
Is there a way to override the template used by the error pages so
that they match my site by extending the base template? I tried to use
the routes_onerror in routes.py to redirect on error, however, this
removes the proper status codes (400, 404 etc.) which the site should
return.
Chris
--
Now that you mention this, this is an issue. My google analytics on my
blog I have noticed lots of pages being request down the rabbit hole,
since I have the error redirecting.
Except for overriding the template in routes, not sure how to make it
look the same as the site.
-Thadeus
On Mon,
Hi, I started to learn and use web2py recently. It's a great web
development framework, simple and easy to start.
Though for me, starting from yesterday, web2py.com seems to be down on
me.
I read some past articles about filtering. So is it the site down or
my ip is being blocked?
Thanks!
Feng
It works for me.
-Thadeus
On Mon, Mar 29, 2010 at 2:03 PM, Feng huf...@gmail.com wrote:
Hi, I started to learn and use web2py recently. It's a great web
development framework, simple and easy to start.
Though for me, starting from yesterday, web2py.com seems to be down on
me.
I read
It would be great if this could fixed or an added feature. It's how a
lot of sites function.
On Mar 29, 3:43 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Now that you mention this, this is an issue. My google analytics on my
blog I have noticed lots of pages being request down the rabbit
would be good not to have a catch all except too, which can mask other
errors.
On Mar 29, 8:29 pm, hamdy.a.farag hamdy.a.fa...@inbox.com wrote:
Hi
in the appliacnce 'appliances'
http://web2py.com/appliances/default/show/4
there's a typo in appadmin.py line 125
except:
Try this:
animals = request.vars.animals
if not isinstance(animals, list):
animals = [animals]
res = db(db.table.field.belongs(animals)).select(db.table.ALL)
On Mar 29, 10:59 pm, pacopyc paco...@gmail.com wrote:
With this code works, but I don't like this:
if type(animals) == str:
add the idea here so people can vote on its importance:
http://web2py.uservoice.com/forums/42577-general
On Mar 30, 9:40 am, Chris crflei...@gmail.com wrote:
It would be great if this could fixed or an added feature. It's how a
lot of sites function.
On Mar 29, 3:43 pm, Thadeus Burgess
oh, my IP now is 98.111.83.0
so far, I still can't reach www.web2py.com
Does anybody know how I can access the website?
Thanks,
- Feng
On Mar 29, 2:22 pm, Thadeus Burgess thade...@thadeusb.com wrote:
It works for me.
-Thadeus
On Mon, Mar 29, 2010 at 2:03 PM, Feng huf...@gmail.com wrote:
Massimo has an (overly) aggressive intrusion detection system. Try
using a public proxy to see if you can reach it. If it still doesn't
work then it may be on your end.
On Mar 29, 5:55 pm, Feng huf...@gmail.com wrote:
oh, my IP now is 98.111.83.0
so far, I still can't reachwww.web2py.com
I think I unblocked it. Please check.
On Mar 29, 5:55 pm, Feng huf...@gmail.com wrote:
oh, my IP now is 98.111.83.0
so far, I still can't reachwww.web2py.com
Does anybody know how I can access the website?
Thanks,
- Feng
On Mar 29, 2:22 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Yes, this is on linux! Do you recommend upgrading and trying again?
mturk doesn't affect anything, I am just serving webpages that appear
in iframes on the mturk website. From our perspective, I'm serving
webpages.
Do you have a method of logging how much time it takes to serve a page
with
Thank you all. I can access the website now!
On Mar 29, 5:39 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I think I unblocked it. Please check.
On Mar 29, 5:55 pm, Feng huf...@gmail.com wrote:
oh, my IP now is 98.111.83.0
so far, I still can't reachwww.web2py.com
Does anybody know how
On Mar 29, 7:59 pm, Michael Toomim too...@gmail.com wrote:
Yes, this is on linux! Do you recommend upgrading and trying again?
mturk doesn't affect anything, I am just serving webpages that appear
in iframes on the mturk website. From our perspective, I'm serving
webpages.
Do you have a
thanks for your kindly help.
On 3月30日, 上午1时47分, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Mar 29, 10:54 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
For
Rewrite IS_IN_SET, everything is ok. But I don't know how to submit a
branch .
class IS_IN_SET(Validator):
def __init__(
self,
theset,
labels=None,
error_message='value not allowed',
multiple=False,
zero='',
sort=False,
):
You need a left outer join. Here are a couple of examples that I think
should work (caveat: I didn't test them):
#way1
qry1=((db.t2.f22==db.t1.id) (db.t1.f12==10))
rows = db(qry1).select(db.t2.ALL)
#way2
qry1=(db.t1.f12==10)
leftjoin=db.t2.on(db.t2.f22==db.t1.id)
I would like to add a list of web2py hosting providers that people can
contribute to. Wiki doesn't seem ready (see above) - any other
options?
Richard
On Mar 25, 11:54 am, Richard richar...@gmail.com wrote:
I tried using the wiki and have some feedback:
How do I create a new page? The front
54 matches
Mail list logo