This would be a good idea because a lot of feature requests get lost
in the traffic of this forum.
Has it been activated yet? I didn't notice a feature request link on
the web2py google code page.
Richard
On Jul 31, 11:04 am, Sebastian E. Ovide sebastianov...@gmail.com
wrote:
Hi All
I have
You know that currently the main repository is on launchpad.net?
On Mon, Aug 10, 2009 at 1:05 AM, Richard richar...@gmail.com wrote:
This would be a good idea because a lot of feature requests get lost
in the traffic of this forum.
Has it been activated yet? I didn't notice a feature
BTW - can you name _one_ feature request that has been lost?
I think this is probably a non-issue, as important requests will not be
forgotten (and unimportant ones probably should be)...
On Mon, Aug 10, 2009 at 1:47 AM, Yarko Tymciurak yark...@gmail.com wrote:
You know that currently the main
The decorators
@auth.requires_login()
@auth.requires_membership('group')
@auth.requires_permission('type','table'record_id')
work on any function, work on gae and are efficient.
You mail also want to build functions like
def record(query):
if auth.has_permission(...):
return
I cannot exclude it is a problem with wsgiserver and ssl. Perhaps the
decrytpion is done in ram and that is a problem. I will look into
this.
On Aug 9, 4:20 pm, Derek cunningh...@gmail.com wrote:
Internet explorer nor Chrome work, so browser doesn't make a
different.
When I turn off SSL, it
This is in Postgres.
I did a little digging, and apparently mixing the JOIN syntax is a
problem. So if i re-write the query in this fashion it works:
SELECT c.name, c.id, cp.date, a.name, v.name, c.date, af.file
FROM venue v
JOIN concert c ON c.venue=v.id
JOIN concert_purchases cp ON
hello, I have something like the following tables:
db.define_table('flavor',
db.Field('name'),
)
db.define_table('ice_cream',
db.Field('f1', db.flavor),
db.Field('f2', db.flavor),
)
I am trying to form a query that will return all the ice creams with
the name of each flavour. Note
- p217: Mail(globals()) - Mail()
On Jul 13, 5:17 am, Vidul vidul.pet...@gmail.com wrote:
Thank you, Massimo, that's the most reliable forum on this planet (no
irony)!
On Jul 12, 5:32 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Book ERRATA:
def give_create_permission(form):
Massimo are you going to release the chapters for the new DAL engine
soon, or is it going to use the same API as this one?
On Jul 11, 7:57 am, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:
Chapters 7 and 8 have been revised including corrections from Mr
Admin, Fran and Jonathan.
fla1=db.favor.with_alias('fla1')
fla2=db.favor.with_alias('fla2')
db(db.ice_cream.f1==fla1.id)(db.ice_cream.f2==fla2.id).select
(db.ice_cream.id,fla1.name,fla2.name)
On Aug 10, 2:59 am, Richard richar...@gmail.com wrote:
hello, I have something like the following tables:
I will release the book before the new DAL but the new DAL will be
backward compatible. The only differences will be inside. The new DAL
is taking longer then expected and I apologize but there is not really
much pressure to get it done.
Massimo
On Aug 10, 3:15 am, Bottiger bottig...@gmail.com
At page 15 (f.i.) I've found a bit tiring the font choise. A minor
issue, but IMO it would be better if you use the same font or at least
the same font-height, and a better separation between code and
explanation.
A good job, however.
---
On 11 Lug, 16:57, Massimo Di Pierro
Massimo,
Thank you for your answer. Before moving on, let me try to give a
quick example of a table:
db.define_table('resources',
Field('name',label=T('name')),
Field('company',db.company,label=T('category')),
Field('department',db.department,label=T('department')),
I tried to get a PASE version running a while ago with no luck. But I
am not adept at AS400 use. You could try ActivePython's distribution:
http://www.activestate.com/activepython/downloads
Let me know how it goes. I would love to be able to move some of my
apps over to our AS400 for nothing
Hi,
I=have the form
form=auth.retrieve_password()
form[0][-1][1].append(INPUT
(_type='button',_value='Cancel',_onclick=window.location='%s';%URL
(r=request,f='login')))
In my view,,,
I want to do this
{{=form.custom.begin}}
{{=form.custom.widget.email}}
{{=form.custom.submit}}
Hi folks,
My question is very simple, making me so ashamed...
I intend to use non ascii caracters in a model field description, so
how do I use a verbose name in the model table?
Kind of:
SQLField('descricao', string, verbose='descição') # --- maybe not
correct!!
By the way, how do I insert
...bump
On Aug 9, 6:50 pm, __future__ wrigh...@gmail.com wrote:
I have a lot of this working but I am stuck on getting individually
submitted values from the request...
the model:http://pastebin.com/d2ddf4718
the controller:http://pastebin.com/d74b1a1e2
the 'tonight'
Carlos,
I am not completelly sure I understand you, but I think that what
you are looking for is:
Field('description',label=T('desccição')), or even without the T if
you are not going to be doing any further translations.
Field('descricao','string',label='descição'). The string part is not
Well that is the thing Tim, this is more of an AIX issue than an AS400
one.
My expertise is on AS400 not AIX. Plus PASE is just a run time
environment, it is not full AIX.
So unless I can get a precompiled version of Python 2.5 (or 2.6) for
AIX5.2 PowerPC (maybe even AIX5.1), or a compiled
On Aug 10, 4:17 am, mdipierro mdipie...@cs.depaul.edu wrote:
I will release the book before the new DAL but the new DAL will be
backward compatible. The only differences will be inside. The new DAL
is taking longer then expected and I apologize but there is not really
much pressure to get it
On Aug 5, 3:57 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can comment individual lines {{#}}. To comment an a multiline
block {{} should work. What problem do you have with it?
If there are '{{}}' syntax in the comments, an error is thrown:
Traceback (most recent call last):
Hi Benigno,
I think it should be working but I get the following error.
http://dpaste.com/hold/9/
I ask for help from the group!
can anyone tlme what's going wrong??
thanks
Carlos Aboim
2009/8/10 Benigno bca...@albendas.com
Carlos,
I am not completelly sure I understand you, but I
On a related note:
Ruby Is Catching On, Time For An i Port
http://www.itjungle.com/tfh/tfh080309-story05.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Hi everybody,
Solved!! Should be a list, and not a dictionay!! Sorry for the
inconvinience!
Carlos Aboim
2009/8/10 Carlos Aboim abo...@gmail.com
Hi Benigno,
I think it should be working but I get the following error.
http://dpaste.com/hold/9/
I ask for help from the group!
can
The link I included has an AIX 5.x version of Python which I used at a
former employer. It works very well on AIX, I just had trouble with
AS400 PASE. What I'm saying is, I was an AS400 noob at the time and
so I could hardly tell the difference between PASE and OS400. It
might still be a
I've got a web2py application running on a PDA (Nokia 810). The
application controls a larger system of devices that are physically
moving within a WiFi network. The PDA is also in motion. The
web2py app is working very well, but we are encountering lower level
problems (failed connections,
On Aug 10, 3:25 am, Benigno bca...@albendas.com wrote:
Massimo,
Thank you for your answer. Before moving on, let me try to give a
quick example of a table:
db.define_table('resources',
Field('name',label=T('name')),
Field('company',db.company,label=T('category')),
You cannot modify a form and then use a custom form. You need to add
the button in the custom form.
{{=form.custom.begin}}
{{=form.custom.widget.email}}
{{=form.custom.submit}}
INPUT type=button ... /
{{=form.custom.end}}
On Aug 10, 8:28 am, Dutch opera dutchop...@gmail.com wrote:
Hi,
I=have
Sorry, I will answer by tomorrow.
Massimo
On Aug 10, 8:56 am, __future__ wrigh...@gmail.com wrote:
...bump
On Aug 9, 6:50 pm, __future__ wrigh...@gmail.com wrote:
I have a lot of this working but I am stuck on getting individually
submitted values from the request...
the
The main advantage of the new dal is the ability to easily add
adaptors for new backends and map virtual fieldnames into actual
fieldnames. This does not mean you will be able to access legacy
databases that you cannot access today. In fact the only and main
issue is with fields that lack
I will look.
On Aug 10, 10:28 am, Olivier oli...@gmail.com wrote:
On Aug 5, 3:57 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can comment individual lines {{#}}. To comment an a multiline
block {{} should work. What problem do you have with it?
If there are '{{}}' syntax in
fla1=db.flavor.with_alias('fla1')
fla2=db.flavor.with_alias('fla2')
r=db().select(db.ice_cream.id,fla1.name,fla2.name,
left=[fla1.on(db.ice_cream.f1==fla1.id),
fla2.on(db.ice_cream.f2==fla2.id)])
--~--~-~--~~~---~--~~
You received this message because
It seems to me this works
event_id = int(request.vars.event_id) #this does not work
but this does not because auth.user should be auth.user.id.
if db((db.attendance.event==event_id)
(db.attendance.user==auth.user)).select():
db((db.attendance.event==event_id)
Thanks, but when I try to unpack ActivePython-2.5.4.4-aix5-
powerpc.tar.gz I get:
tar: 0511-169 A directory checksum error on media; 1249928580 not
equal to 41132
Which one did you try?.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
{{ and }} have precedence over everything else in the views. This
means you cannot have }} in comments. This is by design because it
reduces the scope of the possible errors you can have. If you have
a }} in a comment you need to add a space in between as in } }
Massimo
On Aug 10, 10:28 am,
Dear all,
I am trying use calendar on a simple form as below:
def llamados():
hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(desde))
hasta=time.strftime('%d-%m-%Y %H:%M:%S',time.localtime(hoy))
On Aug 10, 2009, at 4:48 PM, FERNANDO VILLARROEL wrote:
Dear all,
I am trying use calendar on a simple form as below:
def llamados():
hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(desde))
hasta=time.strftime('%d-%m-%Y %H:%M:%S',time.localtime(hoy))
hello,
You know that currently the main repository is on launchpad.net?
Currently the Google Code page says Here you find only the
development version ..., while the Launchpad page says Does not use
Launchpad for development.
That to me sounds like Google Code is the development repository.
thanks! - I forgot about that trick
On Aug 11, 4:44 am, DenesL denes1...@yahoo.ca wrote:
fla1=db.flavor.with_alias('fla1')
fla2=db.flavor.with_alias('fla2')
r=db().select(db.ice_cream.id,fla1.name,fla2.name,
left=[fla1.on(db.ice_cream.f1==fla1.id),
Thank you Jonathan, now works fine.
--- On Mon, 8/10/09, Jonathan Lundell jlund...@pobox.com wrote:
From: Jonathan Lundell jlund...@pobox.com
Subject: [web2py:28322] Re: Calendar
To: web2py@googlegroups.com
Date: Monday, August 10, 2009, 8:56 PM
On Aug 10, 2009, at 4:48 PM, FERNANDO
On Aug 10, 2009, at 6:04 PM, FERNANDO VILLARROEL wrote:
Thank you Jonathan, now works fine.
Good, I'm glad to hear it.
Notice that, independent of the calendar widget, HTML itself requires
that all IDs on a page be unique. Lots of stuff will work OK if you
violate the rule, but it's good
Regarding of the calendar.
How i can use calendar with today in format day-month-year?
hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(hoy))
INPUT(_type=datetime,_name=desde,_value=hoy,_class='datetime',_id=datetlimite,
requires=IS_DATETIME()))
if i use this format
I have this table:
db.define_table('site',
Field('pic1', 'upload', uploadfield='data', label =
Banner (125x125)),
Field('data','blob',default=''))
I also changed this in my controller:
def download():
return site[db.site.pic1.uploadfield]
Now I have some
I, too, am wondering why this should be so. I just ran into this issue
with an api that I'm developing. The api needs to do an insert of a
field called 'name' that requires=[IS_NOT_EMPTY(),IS_IN_DB(...)]. It
seems redundant that I should have to do this an error check that the
name argument is
as for translation of auth messages,
found in we2py-developers Álvaro is working on it with Massimo.
he's testing.
wish him success!
--
Teru
On 8月10日, 午前5:14, suiato homm...@gmail.com wrote:
2009/8/9 suiato homm...@gmail.com:
Thanks, Yarko and Massimo
Yes, translation of messages in
45 matches
Mail list logo