Merry Christmas from Johnson Space Center, Houston Texas :0)
On Dec 25, 5:11 pm, Richard wrote:
> On Dec 26, 7:01 am, Johann Spies wrote:
>
> > 2009/12/25 KMax :> Warm wishes from cold Russia!
>
> > And from warm South Africa!
>
> And hot Australia, Merry Christmas!
--
You received this messag
My applications have a number of files in common which I would like to
store under a subdomain:
e.g. files.example.com
At the moment I store these files in the static folders of the
applications and use the following URLs to retrieve them:
in web2py_ajax:
response.files.insert(0,URL(r=request,c=
Just loaded it.
Has something changed with routes.py??
The web2py directory does not have a routes.py, and when I add mine it
does not appear to have any effect.
Karl
On Dec 25, 12:56 pm, mdipierro wrote:
> Please try 1.74.4. I do remember when the requested_uri was
> introduced.
>
> Massimo
>
I would like to add a reset and cancel button to the form in the def
user(): function.
I tried:
def user():
form=form=auth()
form[0][-1][1].append(INPUT(_type="reset",_value="Reset"))
form[0][-1][1].append(INPUT
(_type="button",_value="Cancel",_onclick="window.location='%s';"%URL
(r=r
Traceback (most recent call last):
File "gluon/restricted.py", line 184, in restricted
File "E:/web2py1.72.3/applications/mug/models/db.py", line 103, in
File "gluon/sql.py", line 1498, in __getattr__
KeyError: 'requires'
Note I'm using 1.72.3 until I get 1.74.4 working
Karl
On Dec 25, 12
When I'm inserting strings using ç ã õ é á on GAE
you can create a DB like:
db.define_table('content',
Field('title','string'),
Field('subtitle','string'),
Field('data','text'),
)
on the "data" column you will be able to add ã ç á... but on title or
subtile will throw an Unicode e
It does work. Just a moment of update panic on my part.
On Dec 26, 5:32 am, kbochert wrote:
> Just loaded it.
> Has something changed with routes.py??
> The web2py directory does not have a routes.py, and when I add mine it
> does not appear to have any effect.
>
> Karl
>
> On Dec 25, 12:56 pm, m
Pardon the multiple posts. 1.74.4 and requested_uri work as expected
Happy Holidays
Karl
On Dec 26, 6:24 am, kbochert wrote:
> It does work. Just a moment of update panic on my part.
>
> On Dec 26, 5:32 am, kbochert wrote:
>
> > Just loaded it.
> > Has something changed with routes.py??
> > The
I know crud is good and admin panel is slick but sometimes I just need
to hack an add/edit/delete based on a table. So, I made this a
decorator :D
http://www.web2pyslices.com/main/slices/take_slice/45
Hope you like it!
Enjoy!
--
You received this message because you are subscribed to the Google
After upgrading from 1.72.3 to 1.74.4 sending mail from my application
no longer works. I get the following error ticket:
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py",
line 173, in restricted
exec ccode in environment
File "/Library
Happy Holidays from Brazil! :-)
On Fri, Dec 25, 2009 at 19:49, Vidul Petrov wrote:
> Happy Holidays from Bulgaria!
>
> On Dec 24, 6:25 am, mdipierro wrote:
>> I wish everybody Happy Holidays. I will probably be on the list as any
>> other day.
>>
>> Massimo
>
> --
>
> You received this message b
yes but you will need to hardcode the URLs instead of using URL(...).
On Dec 26, 5:25 am, annet wrote:
> My applications have a number of files in common which I would like to
> store under a subdomain:
> e.g. files.example.com
>
> At the moment I store these files in the static folders of the
>
On Wed, Dec 23, 2009 at 11:29, Alexandre Andrade
wrote:
> While
>
> db.convenio.data_assinatura.requires =
> IS_DATE(format=T('%d-%m-%Y'),error_message=T('deve ser no formato
> DD-MM-!'))
>
> show me the date in correct locale, the calendar widget don't show the
> correct date.
>
> How to loca
What do you mean by "doesn't work"? You do not see the buttons?
Try this:
def user():
form=auth()
form[0][-1][1].append(INPUT(_type="reset",_value="Reset"))
form[0][-1][1].append(INPUT
(_type="button",_value="Cancel",_onclick="window.location='%s';"%URL
(r=request,f='index')))
ret
password=db.auth_user.password.requires('yourpassword')[0]
On Dec 26, 7:46 am, kbochert wrote:
> Traceback (most recent call last):
> File "gluon/restricted.py", line 184, in restricted
> File "E:/web2py1.72.3/applications/mug/models/db.py", line 103, in
>
> File "gluon/sql.py", line 149
inserting via web forms or via db.table.insert(...)?
On Dec 26, 7:54 am, Tito Garrido wrote:
> When I'm inserting strings using ç ã õ é á on GAE
>
> you can create a DB like:
> db.define_table('content',
> Field('title','string'),
> Field('subtitle','string'),
> Field('data','text'),
This line
mail.send(to=['an...@gmail.com'], subject=form.vars.onderwerp,
message=form.vars)
should never have worked as far as I can tell. form.vars is a Storage
object, not a string, as a message should be.
On Dec 26, 9:24 am, annet wrote:
> After upgrading from 1.72.3 to 1.74.4 sendin
cool!
On Dec 26, 9:12 am, Jon Romero wrote:
> I know crud is good and admin panel is slick but sometimes I just need
> to hack an add/edit/delete based on a table. So, I made this a
> decorator :D
>
> http://www.web2pyslices.com/main/slices/take_slice/45
>
> Hope you like it!
> Enjoy!
--
You re
This would be awesome. Especially with inline exercises like in
htdp and sicp. Web2py the scheme of web programming :)
On Dec 26, 3:16 am, mdipierro wrote:
> good point. I will.
>
> On Dec 25, 6:45 pm, "ma...@rockiger.com"
> wrote:
>
>
>
> > A suggestion for the book. Could you add some problems
Massimo,
> This line
>
> mail.send(to=['an...@gmail.com'], subject=form.vars.onderwerp,
> message=form.vars)
>
> should never have worked as far as I can tell. form.vars is a Storage
> object, not a string, as a message should be.
It did in previous versions of web2py. I received the form
Massimo,
This is how it does work:
message='%(bedrijfsnaam)s\
%(aanhef)s %(initialen)s %(voorvoegsel)s %(achternaam)s %
(straat)s %(huisnummer)s %(postcode)s\
%(plaats)s %(email)s %(telefoonnummer_contact)s %(bericht)s'
%form.vars
Annet.
--
You received this message because yo
How does jquery handle translations?
-Thadeus
On Sat, Dec 26, 2009 at 9:37 AM, Álvaro Justen [Turicas]
wrote:
> On Wed, Dec 23, 2009 at 11:29, Alexandre Andrade
> wrote:
>> While
>>
>> db.convenio.data_assinatura.requires =
>> IS_DATE(format=T('%d-%m-%Y'),error_message=T('deve ser no format
Sigh--
With that line I get:
---
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request
for this address
in a way that will never complete.
---
While experimenting I once got a (wrong) page with a url (in the
firefox url bar) that looke
I do not know. web2py should hanlde transaltions. You pass {{=T(...)}}
strings to jquery.
On Dec 26, 4:16 pm, Thadeus Burgess wrote:
> How does jquery handle translations?
>
> -Thadeus
>
> On Sat, Dec 26, 2009 at 9:37 AM, Álvaro Justen [Turicas]
>
> wrote:
> > On Wed, Dec 23, 2009 at 11:29, Alex
I guess it is not my may. I apologize I did not try my suggestion
before trying it.
Here is more guess:
password=db.auth_user.password.requires[0]('yourpassword')[0]
Let me explain:
db.auth_user is the table
db.auth_user.password is the field
db.auth_user.password.requires is the list of validato
I will have to look to jquery code of widget to judge the best strategy, but
I think is a good alternative, specially because the translations need be
done only once.
2009/12/26 Álvaro Justen [Turicas]
> On Wed, Dec 23, 2009 at 11:29, Alexandre Andrade
> wrote:
> > While
> >
> > db.convenio.
Agreed that web2py still should handle translations. I'm not sure but
for the purpose of this discussion, I think those who this concerns
should look at how javascript jquery programs perform translation and
see if there is a way either A) integrate web2py into this, or B) pass
web2py T() to these
On Sat, Dec 26, 2009 at 22:07, Thadeus Burgess wrote:
> Agreed that web2py still should handle translations. I'm not sure but
> for the purpose of this discussion, I think those who this concerns
> should look at how javascript jquery programs perform translation and
> see if there is a way either
Hallelujah, its a Christmas miracle!
Many Thanks, seems almost obvious now!
Karl
Given that the loading of an initial database is probably a useful
On Dec 26, 2:44 pm, mdipierro wrote:
> I guess it is not my may. I apologize I did not try my suggestion
> before trying it.
> Here is more guess:
Hi all,
I was wondering if anybody could give me some pointers, hopefully by
the new year I will have my blog migrated completely to web2py.
As far as all the posts/comments/etc, the data is migrated to web2py,
and doing just fine.
However I have a firm belief that in this day and age, hyperlink
30 matches
Mail list logo