Thank you Richard,
some comments below.
On Aug 10, 7:21 pm, Richard richar...@gmail.com wrote:
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
Yes, you can translate the string using internationalization.
On Aug 10, 8:43 pm, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote:
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
I do not understand where you are getting the error but you can simply
do:
db.define_table('site',
Field('pic1', 'upload', label =Banner (125x125)))
def download(): return response.download(request,db)
this works on GAE too because GAE will automatically create the
uploadfield
db.define_table('site',
Field('pic1', 'upload', label =Banner (125x125)))
def download(): return response.download(request,db)
this works on GAE too because GAE will automatically create the
uploadfield for you.
I didn't know that! I haven't found it in any
please do. thanks.
On Aug 11, 3:16 am, Jon Romero darks...@gmail.com wrote:
db.define_table('site',
Field('pic1', 'upload', label =Banner (125x125)))
def download(): return response.download(request,db)
this works on GAE too because GAE will automatically create the
email me for the security code.
On Aug 11, 3:16 am, Jon Romero darks...@gmail.com wrote:
db.define_table('site',
Field('pic1', 'upload', label =Banner (125x125)))
def download(): return response.download(request,db)
this works on GAE too because GAE will automatically
On Monday 10 August 2009 10:56:23 mdipierro wrote:
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.
I had very similar problems back when developing xmpppy library.
On some particular
I Agree with Richard:
even if all the information is here, in the mailing list, and therefore
anybody can research in it just using google it would be much clear to
use some tool such as a bug track system both to track bugs and to track and
user enhancement requests
some known examples:
I have no objection if people use the google code page to track
issues.
Some people have done it in the past. I'd rather not use the the
launchpad because it is very slow.
Massimo
On Aug 11, 5:20 am, Sebastian E. Ovide sebastianov...@gmail.com
wrote:
I Agree with Richard:
even if all the
On Aug 11, 5:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you Richard,
some comments below.
On Aug 10, 7:21 pm, Richard richar...@gmail.com wrote:
hello,
You know that currently the main repository is on launchpad.net?
Currently the Google Code page says Here you find only
On Aug 11, 6:41 am, Richard richar...@gmail.com wrote:
On Aug 11, 5:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you Richard,
some comments below.
On Aug 10, 7:21 pm, Richard richar...@gmail.com wrote:
hello,
You know that currently the main repository is on
db.table.field.comment='.'
or
db.table.field.comment=A
('help',_href='instructions_url',_target='_blank')
On Aug 11, 6:50 am, Carlos Aboim abo...@gmail.com wrote:
Hi everyone
Hope everybody is ok.
1 - Do you Folks know if are there a way to instruct (with an
attribute) the user of my
2) IS_NULL_OR(IS_EMAIL())
On Aug 11, 6:50 am, Carlos Aboim abo...@gmail.com wrote:
Hi everyone
Hope everybody is ok.
1 - Do you Folks know if are there a way to instruct (with an
attribute) the user of my site how to fill a field
of my model? Kind of text wich tells the final user what
I want a wiki to be part of a website.
In the manual there as part of the tutorial there is an example on how
to implement a simple wiki:
Start by creating a scaffolding app and call it mywiki.
Now my questions.
What exactly is a scaffolding app?
How do I integrate different scaffolding apps
On Aug 11, 1:39 pm, Johann Spies johann.sp...@gmail.com wrote:
What exactly is a scaffolding app?
It is an example application which you can build on easily.
The 'welcome' app is the default scaffolding app which is what you get
when you use site admin to create a new app.
How do I integrate
The example has been rewritten in the new book to use tools. I will
post is soon.
Massimo
On Aug 11, 7:47 am, Fran francisb...@googlemail.com wrote:
On Aug 11, 1:39 pm, Johann Spies johann.sp...@gmail.com wrote:
What exactly is a scaffolding app?
It is an example application which you can
Okay... I installed your version and took a look at what was going
on.
I am a little confused about a couple of things:
In the controller:
@auth.requires_login()
def toggle_attendance():
This is where a user can toggle attendance to
any event displayed on the 'tonight. page.
Thank you !! Worked just fine!
2009/8/11 mdipierro mdipie...@cs.depaul.edu
db.table.field.comment='.'
or
db.table.field.comment=A
('help',_href='instructions_url',_target='_blank')
On Aug 11, 6:50 am, Carlos Aboim abo...@gmail.com wrote:
Hi everyone
Hope everybody is ok.
1
There are two types of frameworks push and pull.
In a push framework (like web2py, Django, Rails) the URL is mapped
into a function, which returns data (in the form of a dictionary) and
the data is rendered by one view.
In a pull framework (like Struts and JBoss) the URL is mapped into a
view
You cannot do:
...Field('name')...
database.vendor.name.type='string'
database.vendor.name.length=64
you must do
...Field('name','string',length=64)...
all the attributes but type, length, notnull, unique can be specified
later.
On Aug 11, 9:00 am, Don sam...@gmail.com wrote:
I have
I haven't recently. It's likely that the one you downloaded is not
the one I tried.
Have you tried unzipping it on a PC? Does it give the same error?
On Aug 10, 1:53 pm, DenesL denes1...@yahoo.ca wrote:
Thanks, but when I try to unpack ActivePython-2.5.4.4-aix5-
powerpc.tar.gz I get:
tar:
if db((db.attendance.event==event_id)
(db.attendance.user==auth.user.id)).delete():
return 'Not Attending'
else:
db.attendance.insert(event=event_id, user=auth.user.id)
return 'Attending'
This obviously works but looks backwards to me for some reason.
I have defined my model.
# coding: utf8
# define a SQLite database
database=SQLDB(sqlite://database.db)
# create a vendor table
database.define_table('vendor',
database.Field('name'),
database.Field('alias'),
I am new to the MVC paradigm, python, and web2py. I would like to be
able to:
1. create a controller (done)
1. define a series of functions (including index)
2. call any of the function from a single view.
Example. I have a model that consists of three tables. My default.py
controllers index
Thanks, that got rid of my problem with a false value for the boolean.
# coding: utf8
# define a SQLite database
database=SQLDB(sqlite://database.db)
# create a vendor table
database.define_table('vendor',
mind that sqlite does not enforce field types (web2py does). This is a
problem if you have already inserted records in the previous
definition and then you changed it. In this case I suggest delete
everything in the folder databases/.
Massimo
On Aug 11, 10:41 am, Don Lee sam...@gmail.com wrote:
Hi everyone
I am using a model like:
http://dpaste.com/hold/78289/
- the field 'vendedor'
- the field 'cliente'
in model 'obras' should show a dropdown menu from IS_IN_SET ('vendedor') and
from other table reference ('cliente') parameter
but it doesn't show up no dropdown menus
Any
I tested the code you gave me and still does not work, I also work
with the same code that brings up the manual and does not work either.
What can I do? Apologies for the delay. Thanks in advance
--Model(this code is taken from web2py manual)
db=SQLDB('sqlite://db.db')
Thanks for the help.
On Tue, Aug 11, 2009 at 11:50 AM, mdipierro mdipie...@cs.depaul.edu wrote:
mind that sqlite does not enforce field types (web2py does). This is a
problem if you have already inserted records in the previous
definition and then you changed it. In this case I suggest
Really beautiful.
+100
Jose
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
in the past, I have found 7zip to be more tolerant of archives that are
incomplete or with errors (e.g. extracts what it can)...
You might try that.
On Tue, Aug 11, 2009 at 9:56 AM, Timbo tfarr...@swgen.com wrote:
I haven't recently. It's likely that the one you downloaded is not
the one I
Just to complete this, you can start web2py with no-cron from the command
line:
-N or --no-cron
remember, you can always invoke web2py with -h to see the available options.
- Yarko
On Sat, Aug 8, 2009 at 7:23 PM, holcomb hol...@gmail.com wrote:
Thanks, Yarko. I completely forgot about that
Hi,
sorry for not joining you on #web2py the other day, but as I said in
my mail I am currently busy moving house and had a system GoLive this
weekend. Not sure whether this is still relevant to you but my last
w2popenid commit (http://bitbucket.org/hc/w2popenid) does not include
Web2PyFetcher
Thanks Vihang, I'm not doing distributed app now, it was only to learn
more by example.
If you finally get something please share it because it sounds interesting..
regards
alex f
El 06/08/2009 22:39, vihang escribió:
Hello Alex,
I am in the stage of 'figuring things out'. Frankly, I am as
Hi,
I am surprised I didn't find a post on slow downloads, but perhaps
it's only so bad because my internet connection is terribly slow.
def download():
allows downloading of uploaded files
http:///[app]/default/download/[filename]
return response.download(request,db)
Both 2.5.4.4 and 2.6.2.2 fail the same no matter where or with what
the file is gunziped.
I opened a report on ActivePython support forum.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post
Thanks a lot for that detailed explanation...
Why do we use args instead of request.vars? Wouldn't using the
request vars allow using named values in the controller? It is not
the biggest thing in the world but whenever I see something like args
(0), I feel like I am reading perl. I hate
requires=IS_IN_SET()
validation+dropdown
requires=[IS_IN_SET()]
validation but not dropdown. ;-)
On Aug 11, 11:01 am, Carlos Aboim abo...@gmail.com wrote:
Hi everyone
I am using a model like:
http://dpaste.com/hold/78289/
- the field 'vendedor'
- the field 'cliente'
Try this.
$(document).ready(function(){
$('#taxpayer_spouse_name__row').hide();
$('#taxpayer_married').change(function(){
if($('#taxpayer_married').attr('checked'))
$('#taxpayer_spouse_name__row').show();
else $('#taxpayer_spouse_name__row').hide();});
});
Thank Mateusz. I will post it soon.
Massimo
On Aug 11, 11:28 am, Jose jjac...@gmail.com wrote:
Really beautiful.
+100
Jose
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this
You can replace URL(...,args=id) with URL(...,vars=dict(id=id)) and
request.args(0) with request.vars.id.
I prefer the more restful syntax but there is no deep reason.
Massimo
On Aug 11, 3:37 pm, __future__ wrigh...@gmail.com wrote:
Thanks a lot for that detailed explanation...
Why do we
Dear all.
How i can doing the following query for web2py:
select
a.destino,a.answeredtime,a.inicio,a.fin,a.valor from llamados as a
join
accountcode as b on a.id_accountcode=b.id
join
clientes as c on b.id_clientes=c.id
where id_clientes = clte and
Hi All,
I have some images in some css: background: url(images/myimage.jpg)
no-repeat;
the css is in : init/static
and the images is in : init/static/images
the image URL is translated to
http://127.0.0.1:8000/images/myimage.jpginstead of being relative to
where the css file is located (the
Here is is broken down into pieces:
a=db.llamados
b=db.accountcode.with_alias('b')
c=db.clientes.with_alias('c')
query = (b.id_clientes==clte)(a.dialstatus=='ANSWER')
(a.inicio=desde)(a.inicio=hasta)
left = (b.on(a.id_accountcode==b.id),c.on(b.id_clientes==c.id))
rows = db(query).select
You cannot use sessions with xmlrpc because the xmlrpc protocol does
not use cookies to maintain persistence.
On Aug 11, 5:02 pm, rb rbspg...@gmail.com wrote:
In my think-client xmlrpc protocol to web2py svr code I am trying to
maintain data in the session global variable but it doesn't seem
Further, I added a :
session.hello = hello, world
in order to see if it just didn't want to hold onto MY data. No dice.
session.hello is gone on the next call as well.
---
On Aug 11, 3:02 pm, rb rbspg...@gmail.com wrote:
In my think-client xmlrpc protocol to web2py svr code I am trying to
I never had this problem.
If the css is in : /init/static/filename.css, then url(images/
myimage.jpg) should translate in /init/static/images/myimage.jpg
which browser are you using?
Massimo
On Aug 11, 5:41 pm, Sebastian E. Ovide sebastianov...@gmail.com
wrote:
Hi All,
I have some images in
It seems strange that IS_STRONG() should impose a max length on a
field, when by default there is no max length. Seems like max= belongs
in IS_WEAK(), not IS_STRONG().
(And the new manual doesn't mention max=.)
How about just getting rid of max= ?
OMG. Then I'm screwed? Is there anyway for Web2py to keep state info
alive? Geez, I must be missing something. Do no web services keep
state info? Are all web services stateless?
Eek!
On Aug 11, 4:06 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You cannot use sessions with xmlrpc because the
This is not a problem with the server but with the client.
You may try the cookie aware xmlrpc client proposed here:
http://code.activestate.com/recipes/501148/
Or you need to pass an extra key to the function calls and is that to
retrieve a session.
Massimo
On Aug 11, 6:09 pm, rb
Getting rid would not be backward compatible but we can change it to
32, the default length for a string field. We can even change it to a
larger number. I do not have a strong opinion about this since it
eventually gets hashed anyway.
On Aug 11, 6:18 pm, Jonathan Lundell jlund...@pobox.com
On Aug 11, 2009, at 4:24 PM, mdipierro wrote:
Getting rid would not be backward compatible but we can change it to
32, the default length for a string field. We can even change it to a
larger number. I do not have a strong opinion about this since it
eventually gets hashed anyway.
How
I was referring to the stackoverflow like OpenID login app is. Where
can I find it?
On Aug 11, 10:27 pm, mdipierro mdipie...@cs.depaul.edu wrote:
On Aug 11, 6:41 am, Richard richar...@gmail.com wrote:
On Aug 11, 5:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you Richard,
Thank you Massimo
--- On Tue, 8/11/09, mdipierro mdipie...@cs.depaul.edu wrote:
From: mdipierro mdipie...@cs.depaul.edu
Subject: [web2py:28376] Re: Help query
To: web2py-users web2py@googlegroups.com
Date: Tuesday, August 11, 2009, 8:04 PM
Here is is broken down into pieces:
I just replaced an asp.net mileage tracker app targeting our
Blackberry users with a web2py equivalent. It runs twice as fast and
was developed in half the time. Just thought I would share this
experience for those considering options for mobile development.
This one?
http://w2popenid.appspot.com/init/default/wiki/main
On Aug 11, 6:55 pm, Richard richar...@gmail.com wrote:
I was referring to the stackoverflow like OpenID login app is. Where
can I find it?
On Aug 11, 10:27 pm, mdipierro mdipie...@cs.depaul.edu wrote:
On Aug 11, 6:41 am,
Once more, the issue is not with web2py. The issue is with your
client. It does not support cookies, hence it does not support
sessions.
If you use this client they should work:
http://fotinakis.com/blog/blog/2008/cookies-xmlrpc-and-ssl/
Massimo
On Aug 11, 7:31 pm, rb
This needs to go on the main web-page, under success-stories!
On Aug 11, 10:20 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This is great to know. Can you say which company?
Massimo
On Aug 11, 8:49 pm, mr.freeze nat...@freezable.com wrote:
I just replaced an asp.net mileage tracker app
This is great to know. Can you say which company?
Massimo
On Aug 11, 8:49 pm, mr.freeze nat...@freezable.com wrote:
I just replaced an asp.net mileage tracker app targeting our
Blackberry users with a web2py equivalent. It runs twice as fast and
was developed in half the time. Just thought
Everything in the web2py folder.
On Aug 12, 12:19 am, jayvandal jayvan...@gmail.com wrote:
I have created a blog from the tutorial and wondered what files are
need to upload the Blog to the web site. Some web sites have PHP and
other app loaded on the web site. IWhen I have created a PHP app
Correction. You must use this client:
http://code.activestate.com/recipes/501148/
not this client:
http://fotinakis.com/blog/blog/2008/cookies-xmlrpc-and-ssl/
Massimo
On Aug 12, 12:19 am, mdipierro mdipie...@cs.depaul.edu wrote:
Once more, the issue is not with web2py. The issue is with
61 matches
Mail list logo