Yes, I have implemented queuing mechanisms. The issue here is that
web2py isn't sending any email. In tmy example above, I'm actually
sending only a single email ... to me ... for testing purposes, not
production. Bottom line, I'm not getting any email and none is being
sent. I looked at the email
I agree. I would take this path.
On Feb 3, 11:38 pm, Thadeus Burgess wrote:
> -1 for admin username
> +1 for anti-brute-forcing. If incorrect password typed 3 times, ban
> the IP permanently until you log into ssh and edit a pickled file.
>
> -Thadeus
>
> On Wed, Feb 3, 2010 at 7:07 PM, mdipierro
The role of a cron job is to start the same task at periodic time. If
the task takes too long, two or more of such tasks can overlap and
slow thing down.
In your case you have events that trigger the emails. You do not want
to send emails at fixed scheduled time but as soon as possible if not
busy
-1 for admin username
+1 for anti-brute-forcing. If incorrect password typed 3 times, ban
the IP permanently until you log into ssh and edit a pickled file.
-Thadeus
On Wed, Feb 3, 2010 at 7:07 PM, mdipierro wrote:
> I am confused. appadmin does not requires any. appadmin, by default,
> requ
Do you mean a cron job? Or is it a separate service? I was intending
to make it a service, however I wanted to try this out to see if it
would work. I know for a fact that my mail server is functioning. I
have an old app written in python that does an SMTP-based mailing
using mail.server 127.0.0.1.
In web2py session is not a dict it is a gluon.storage.Storage. It acts
as a dict except that keys can accessed as attributes and if a key
does not exist returns None.
>>> session['key']
Exception
>>> session.key
None
>>> 'key' in session
False
On Feb 3, 9:46 pm, jeantoe wrote:
> i see this exam
i see this example in web2py_manual_cut.pdf
code:
def index():
session.counter = (session.counter or 0) + 1
return dict(message="Hello from MyApp", counter=session.counter)
i try it in ipython and get a error
In [13]: session.test = (session.test or 0) + 1
You need a background process and database queue of tasks for this to
work well.
On Feb 3, 8:50 pm, weheh wrote:
> I tried the mail.settings.server='localhost:25' but still no results.
>
> As for Russel's comment, ultimately I intend to loop on a db of
> possibly thousands of users. I intend to p
I needs to see more of the app to understand the workflow. This will
get rid of the problem:
Field('name_lower', compute=lambda
r:r.get('name','unknwon').lower(),readable=False,writable=False)
But somehow compute is being called without a prefilled record in your
app.
On Feb 3, 7:45 pm, Carl
I think what everyone's trying to say is that if you don't set
auth.settings.login_next then by default, the redirect after login
will be to the decorated controller that sent you to login to begin
with. So make sure there is no auth.settings.login_next in your model
file (db.py).
--
You received
mikech,
You are right, the default orange is a great color; especially when
playing off the brown (#3E3735)
I especially like that it did not take a lot of changes in the
stylesheet:
http://bit.ly/cKDPZf
Thanks!
On Feb 3, 10:10 am, mikech wrote:
> Orange is such a nice color :)
>
> On Feb 2,
I tried the mail.settings.server='localhost:25' but still no results.
As for Russel's comment, ultimately I intend to loop on a db of
possibly thousands of users. I intend to put some pause between user
emails in order to not trip spam filters. Do you anticipate a problem
from that configuration?
This looks cool:
http://code.tabo.pe/django-treebeard/src/
Single API to access 3 different models of hierarchical trees.
I'm inspired to move my simple 'Adjacency List' model to one more
suitable for Reads.
I've seen a Web2Py implementation of modified preorder traversal:
http://www.web2pyslice
ah... you are right; I don't get this information from a web2py form.
I added in readable and writable but still get the exception:
KeyError: 'name'
On Feb 4, 1:16 am, mdipierro wrote:
> required is not really required for anything.
>
> For debugging try:
>
> Field('name_lower', compute=lambda
>
do you use 2.5 or something else locally?
On Feb 3, 6:11 pm, Carl wrote:
> This may be related to GAE update_record() has subtle difference
> compared to native
> Web2Pyhttp://groups.google.com/group/web2py/browse_thread/thread/a69afded01...
> but until shown otherwise, I've posed separately.
>
required is not really required for anything.
For debugging try:
Field('name_lower', compute=lambda
r:r['name'].lower(),readable=False,writable=False)
Perhaps you do not display the field name in the form?
On Feb 3, 5:57 pm, Carl wrote:
> I've traced right now to the exception and I get KeyE
look into .hgignore
On Feb 3, 5:24 pm, Wes James wrote:
> If I make changes to web2py and run it now I get parameters_port.py
> and possibly ticket error files, session files, etc., created. How do
> you keep these from getting introduced in to the commits?
>
> -wes
--
You received this messag
It should do that if you call login via
@auth.requires_login()
On Feb 3, 4:24 pm, Dane wrote:
> Thanks!
>
> As an aside, I wonder why redirecting to the last accessed controller
> function after login isn't the default behavior. Isn't this by far the
> most common use case?
>
> On Feb 3, 2:25 pm
There is a timeout on the thread that may affect it.
On Feb 3, 3:27 pm, Russell wrote:
> Just curious...The code shows the mail.send routine in a loop and the
> whole thing could take some time to run. Should there be some limit
> to the number of records that can be thrown into such a loop? A
I am confused. appadmin does not requires any. appadmin, by default,
required admin (perhaps you refer to that). appadmin predates auth. If
your app needs a more complex appadmin authentication you should
connect to the auth of the app.
admin does not no need more than a passoword because there is
what os? make sure the case is correct
On Feb 3, 3:17 pm, selecta wrote:
> If i replace a directory with a symlink the application works fine
> buthttp://127.0.0.1:8000/admin/default/design/testis not showing the
> symlinked directory
>
> e.g. in application test I symlinked the views/default di
On Thu, Feb 4, 2010 at 00:25, Drapko Nitzhonot wrote:
> Bought it. Thanks
>
In fact if developer ask me the book;
if them promise only self usage,i sent the pdf always ...
thanx for all!
> On Tue, Feb 2, 2010 at 11:13 PM, Jonathan Lundell
> wrote:
>>
>> In case anyone is about to buy a copy of
I can't use extra ports. Our university firewall policy does not
allow traffic except on certain well known ports.
We have port NAT and port filtering at several levels, run by
different levels of the University organization, between the server
the students in my course are using for their project
Cool, must have missed that one.
In my environment I have absolutely no need for remember me on our
app, In fact remember me would be a disaster to the internal
application.
Thanks.
-Thadeus
On Wed, Feb 3, 2010 at 5:40 PM, Wes James wrote:
> This is in tools.py
>
> self.settings.remember_m
This may be related to GAE update_record() has subtle difference
compared to native Web2Py
http://groups.google.com/group/web2py/browse_thread/thread/a69afded01d12d18/3f4f21acdff0c34b#3f4f21acdff0c34b
but until shown otherwise, I've posed separately.
I have this in db.py:
db.define_table('team_us
I've traced right now to the exception and I get KeyError: 'name'
This is referring to the definition in db.py of the compute function
compute=lambda r:r['name'].lower()),
I've removed both notnull=True & required=True from:
Field('name', 'string', length=128, notnull=True, required=True),
but I
This is in tools.py
self.settings.remember_me_form = True
-wes
On Wed, Feb 3, 2010 at 4:39 PM, Wes James wrote:
> or have an option in db.py:
>
> auth.settings.remember_me=(True|False)
>
> On Wed, Feb 3, 2010 at 3:07 PM, Thadeus Burgess wrote:
>> -Thadeus
>>
>> --
>> You received this message
or have an option in db.py:
auth.settings.remember_me=(True|False)
On Wed, Feb 3, 2010 at 3:07 PM, Thadeus Burgess wrote:
> -Thadeus
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegro
why?
On Feb 4, 9:07 am, Thadeus Burgess wrote:
> -Thadeus
--
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...@googlegr
I agree the epydocs are not very useful, which makes the manual
crucial right now.
(http://www.web2py.com/examples/static/epydoc/index.html)
The current wiki has a number of recipes/explanations but it is never
going to systematically cover the entire API. It is basically a new
AlterEgo.
So how ab
If I make changes to web2py and run it now I get parameters_port.py
and possibly ticket error files, session files, etc., created. How do
you keep these from getting introduced in to the commits?
-wes
--
You received this message because you are subscribed to the Google Groups
"web2py-users" g
thank you,
carlo
On 3 Feb, 00:46, mdipierro wrote:
> Try this:
>
> {{db[table].id.represent=lambda id: A(id,_href=URL(r=request,
> c='default',f='data_clienti',args=id,vars={'table':table})}))
> {{=SQLTABLE(rows,_class='sortable',headers=dict([(rows.colnames[i],c)
> for (i,c) in enumerate(colonn
Thanks!
As an aside, I wonder why redirecting to the last accessed controller
function after login isn't the default behavior. Isn't this by far the
most common use case?
On Feb 3, 2:25 pm, Wes James wrote:
> You will want to do it in your controller for each view function you have.
>
> I have s
-Thadeus
--
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 this group at
htt
I agree that an on-line book is a bad idea, I never liked to read text
for humans while programming, it just distracts me, (even the nice
book from Massimo)
BUT
if we had something like the php documentation it would be awesome
The documentation (epydoc) is already quite good but the interface is
d
Just curious...The code shows the mail.send routine in a loop and the
whole thing could take some time to run. Should there be some limit
to the number of records that can be thrown into such a loop? About
how many records before this sort of thing should be handed off to a
daemon?
On Feb 4, 4:
On Wed, Feb 3, 2010 at 1:48 PM, mdipierro wrote:
>
>>
>> By the way Massimo, will you take a patch to add a username to
>> appadmin? If not, I'm learning a few things on the way, anyway.
>
> please explain more.
>
appadmin only uses a password to login. I'm putting in a username too
so it r
If i replace a directory with a symlink the application works fine but
http://127.0.0.1:8000/admin/default/design/test is not showing the
symlinked directory
e.g. in application test I symlinked the views/default directory in
http://127.0.0.1:8000/admin/default/design/test it is looking like
there
If you do not use GAE it should work right now (cp dal.py sql.py)
Before I can make it work on GAE I need to abstract a little more
about insert and select.
Massimo
On Feb 3, 2:55 pm, Thadeus Burgess wrote:
> I know I didn't put one there.
>
> sql.py is way to spaghetti and will take longer th
Use UTF8 not unicode.
On Feb 3, 2:03 pm, szimszon wrote:
> IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Használt','Selejtezve',
> 'Cseredarab', 'Bérben', 'Hibás'],multiple=True)
>
> If I select "Új" I get: value not allowed
> If I select "Selejtezve" it's OK.
--
You received this message because you
I am not exactly sure what when wrong but I can explain how it works
and how to fix it.
Normally web2py looks for .table files for the current table
structure. If that does not match the fields in the define table, it
tried to alter and add or drop columns accordingly. After migration is
completed
Denes is right.
On Feb 3, 1:59 pm, DenesL wrote:
> AFAIK Massimo does not oppose but actually encourages the creation of
> more documentation in any form.
>
> On Feb 3, 2:48 pm, villas wrote:
>
> > Well to be fair, it didn't sound like Massimo was in favour of an
> > online book earlier in this
I know I didn't put one there.
sql.py is way to spaghetti and will take longer than I have available
to make it work for sql.py.
When will we be able to use the new dal?
-Thadeus
On Wed, Feb 3, 2010 at 2:46 PM, mdipierro wrote:
> There is no check_reserved in gluon/sql.py.
>
> On Feb 3, 12
This would fetch all records in memory. Not a good idea.
lys = db().select(db.wos_rou.id)
try this instead:
lys = db().select(db.wos_rou.id,limitby=(0,100))
On Feb 3, 12:57 pm, Johann Spies wrote:
> I am working with relatively large datasets (up to 45 records) an
> even when I try to mi
On Feb 3, 12:50 pm, Wes James wrote:
> adding username to appadmin ;)
>
> I did hg clone of 1.74.10
>
> I start making some changes
>
> I then do hg export fig the only thing i see is a pending change to
> the Makefile of the version change. Just a side note, I look in the
> Makefile and it lo
There is no check_reserved in gluon/sql.py.
On Feb 3, 12:33 pm, Thadeus Burgess wrote:
> A) Bring home the bacon !
>
> B) Every time unless you set check_reserve to None. In production you
> would have check_reserve to None.
>
> C) It should be a union, and that is exactly what its documentation
Now the see this I understand the problem better. In this line:
Field('mDate', 'datetime', required=True)
required=True is not the same as requires=IS_NOT_EMPTY() and it is not
the same as notnull=True.
required=True means you cannot do insert without providing a value for
this field and that is
http://web2py.com/plugins/default/translate
I am not sure why it is translating only top and sidebar but not
content.
With other page layouts it translates the entire content.
Any idea?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to
Have you tried mod_rewrite? I've tried mod_write with wsgi and I had
some problems with it not working right, but if you can run each of
your instances on a different port and then use rewrite rules it might
work.
Just a guess here:
RewriteEngine On
RewriteRule ^/site1(.*) http://host:8
Try assigning them unique ID's instead of the string.
IS_IN_SET((1, 2, 3, 4), (option a, option b, option c, option d), multiple=True)
-Thadeus
On Wed, Feb 3, 2010 at 2:03 PM, szimszon wrote:
> IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Használt','Selejtezve',
> 'Cseredarab', 'Bérben', 'Hibás'
IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Használt','Selejtezve',
'Cseredarab', 'Bérben', 'Hibás'],multiple=True)
If I select "Új" I get: value not allowed
If I select "Selejtezve" it's OK.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post
I am interested in running multiple web2py trees, for use in testing
web2py upgrades before full deployment, as well as testing local code.
I am behind a firewall, so I only have the http and https ports
available. I'm running Apache, and managed so far to get just the one
copy of web2py going, at
I seem to have gotten myself in trouble while trying to upgrade from
web2py1.74.6 to 1.74.9, where I am using postgresql as my database and
apache2 as my front end. I am running the admin directory only through
https.
Q: If I have an existing database, and start with a clean web2py tree
(with no .
AFAIK Massimo does not oppose but actually encourages the creation of
more documentation in any form.
On Feb 3, 2:48 pm, villas wrote:
> Well to be fair, it didn't sound like Massimo was in favour of an
> online book earlier in this same thread. That was why I thought there
> was a case to be m
Well to be fair, it didn't sound like Massimo was in favour of an
online book earlier in this same thread. That was why I thought there
was a case to be made.
You are right of course about raising the next question: who is going
to do it? But in my mind, there isn't any point in trying to cros
Just saw it on Vimeo:
http://www.vimeo.com/9073663
--
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.
There is no case. We all agree.
Now who is actually going to DO it ?
I can't. I work, sleep, and sometimes if I have time eat. Then I work
some more. My company is not going to pay me to write web2py
documentation.
And as my comment earlier wasn't just to be funny it is serious. Do
you have time
You will want to do it in your controller for each view function you have.
I have some like this:
if auth.is_logged_in():
redirect(URL(r=request,c='default',f='apage'))
or something like
@auth.requires_login()
def change_password():
return
dict(form=auth.change_password(next=URL(r=
On 3 February 2010 21:17, Wes James wrote:
> It might make a difference on the DB you are using. Which are you
> using sqlite, postgresql, mysql?? What OS? As a side note if you are
> using windows, win32 only uses a little over 3gig as it uses the other
> for system use. But I'm not sure what
It might make a difference on the DB you are using. Which are you
using sqlite, postgresql, mysql?? What OS? As a side note if you are
using windows, win32 only uses a little over 3gig as it uses the other
for system use. But I'm not sure what the python limits are either.
On Wed, Feb 3, 2010
I think that Cakephp also has a very good online book: http://book.cakephp.org.
I notice these days that they are also raising some revenue with
adsense, which might work well.
However, people like me would also be willing to pay a subscription to
access a more up to date online book. Goodness m
Thanks, but I still don't understand.. if I set it in db.py, won't
that permanently send all my login redirects to the same function? But
I want the redirect to change depending on the part of the site my
users try to access. Do I use a property on request for this?
On Feb 3, 1:53 pm, Wes James w
Thanks, but I still don't understand.. if I set it in db.py, won't
that permanently send all my login redirects to the same function? But
I want the redirect to change depending on the part of the site my
users try to access. Do I use a property on request for this?
On Feb 3, 1:53 pm, Wes James w
I am working with relatively large datasets (up to 45 records) an
even when I try to minimize the memory usage by not doing a select on
all the fields I get this error on a 4G ram computer with a dataset of
about 15 records):
lys = db().select(db.wos_rou.id)
Exception in thread Thread-27:
db.py
On Wed, Feb 3, 2010 at 11:12 AM, Dane wrote:
> Thanks, and where would I set this to get a redirect to the function
> being accessed? In the body of the controller function itself? I'm new
> to python and decorators, but I assumed nothing in the decorated
> function would run.
>
>
> On Feb
adding username to appadmin ;)
I did hg clone of 1.74.10
I start making some changes
I then do hg export fig the only thing i see is a pending change to
the Makefile of the version change. Just a side note, I look in the
Makefile and it looks like the change is already there. Not sure why.
I
A) Bring home the bacon !
B) Every time unless you set check_reserve to None. In production you
would have check_reserve to None.
C) It should be a union, and that is exactly what its documentation I
added says. But we can't do a union until we actually create database
specific keywords until
On Feb 3, 2010, at 9:43 AM, Thadeus Burgess wrote:
> Ok take a look at the following proposed changes
I'll try to look at it later today; I'm off to work now.
Is the check made every time, or only when a table is actually being created
(or migrated)? The latter should be adequate, at least by d
db.define_table('team',
Field('name', 'string', length=128, notnull=True,
required=True),
Field('name_lower', compute=lambda r:r['name'].lower()),
Field('owner_user_id', db.auth_user, required=True,
requires=IS_IN_DB(db,db.auth_user.id,'%(id)s')),
Thanks, and where would I set this to get a redirect to the function
being accessed? In the body of the controller function itself? I'm new
to python and decorators, but I assumed nothing in the decorated
function would run.
On Feb 3, 10:37 am, mdipierro wrote:
> auth.settings.login_next = URL(.
On Feb 3, 2010, at 9:38 AM, Thadeus Burgess wrote:
> Massimo seems to prefer emailing patches rather than pulling from our
> cloned repositories. Since he wants exact specific control over what
> gets pulled in. Kind of like "quality control" until he trusts the
> developer I suppose :) Linus Torv
As an added note, I could use some help in creating the database
specific keywords lists.
-Thadeus
On Wed, Feb 3, 2010 at 11:43 AM, Thadeus Burgess wrote:
> Ok take a look at the following proposed changes
>
> http://code.google.com/r/thadeusburgess-web2py/source/detail?r=c416459252755abde99
Ok take a look at the following proposed changes
http://code.google.com/r/thadeusburgess-web2py/source/detail?r=c416459252755abde998e923021188335924e02c
I made it DRY. Also you pass a list of options. Here is example usage
db = DAL('sqlite', pool_size, check_reserve=['common',
'postgres'
Massimo seems to prefer emailing patches rather than pulling from our
cloned repositories. Since he wants exact specific control over what
gets pulled in. Kind of like "quality control" until he trusts the
developer I suppose :) Linus Torvalds also prefers this approach of
diffs instead of clones f
On Feb 3, 2010, at 9:19 AM, Thadeus Burgess wrote:
> What is wrong with http://mercurial.selenic.com/guide/
>
> There is nothing special about hg+web2py together.
I was hoping for something a little more concise, and also some guidance for
how to use my own clones (or whatever) on Google Code.
What is wrong with http://mercurial.selenic.com/guide/
There is nothing special about hg+web2py together.
-Thadeus
On Wed, Feb 3, 2010 at 11:13 AM, Jonathan Lundell wrote:
> On Feb 3, 2010, at 9:09 AM, Thadeus Burgess wrote:
>
>> if you already have a clone, make your changes, then commit t
On Feb 3, 2010, at 9:09 AM, Thadeus Burgess wrote:
> if you already have a clone, make your changes, then commit them to
> your local copy.
>
> When you want updates do
>
> hg pull web2py && hg merge
>
> It should update and leave your changes, unless there is a conflict
> which you will need a
Orange is such a nice color :)
On Feb 2, 8:08 pm, johntynan wrote:
> Thanks! Here is some additional information:
>
> http://opensourcebroadcasting.blogspot.com/2010/02/introducing-pledge...
>
> Also, between us here on the web2py group, here is the link to create
> an account and set up your ow
if you already have a clone, make your changes, then commit them to
your local copy.
When you want updates do
hg pull web2py && hg merge
It should update and leave your changes, unless there is a conflict
which you will need a program such as "MELD" to solve.
-Thadeus
On Wed, Feb 3, 2010 a
Out of curosity... What kind of changes are you making to web2py?
On Feb 3, 11:02 am, Wes James wrote:
> Say I do:
>
> hg clone web2py
>
> I make changes to the code, then later another update comes out for
> web2py and I want my changes added to the update. Can someone help me
> with this proce
Can you show us the model and attributes of db.team.
I suspect db.team.mDate is missing a writable=False, readable=False
which you need since it is a computed field.
On Feb 3, 10:59 am, Carl wrote:
> MainThread - pid4460_seq4
> update [gql.py:696]
> update_record [sql.py:3232]
>
Because I made a mistake in 1.74.10.
--
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 optio
Say I do:
hg clone web2py
I make changes to the code, then later another update comes out for
web2py and I want my changes added to the update. Can someone help me
with this process?
thx,
-wes
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
MainThread - pid4460_seq4
update [gql.py:696]
update_record [sql.py:3232]
[sql.py:3109]
update [subscription.py:65]
update_team [default.py:call:68]
serve_jsonrpc [tools.py:2560]
__call__ [tools.py:2646]
call [default.py:call:594]
doh!
rebuilding it again
On Feb 3, 10:40 am, Thadeus Burgess wrote:
> It does not look like you included the patch for the reserved keywords?
>
> -Thadeus
>
> On Wed, Feb 3, 2010 at 10:22 AM, mdipierro wrote:
> > fixes a few problems with CRON, typos and check for invalid field and
> > in D
You might want to wait before including patch, since I made some of
the suggested changes last night, we can see how it looks then.
-Thadeus
On Wed, Feb 3, 2010 at 10:40 AM, Thadeus Burgess wrote:
> It does not look like you included the patch for the reserved keywords?
>
> -Thadeus
>
>
>
>
It does not look like you included the patch for the reserved keywords?
-Thadeus
On Wed, Feb 3, 2010 at 10:22 AM, mdipierro wrote:
> fixes a few problems with CRON, typos and check for invalid field and
> in DB (thanks Thedeus)
>
> --
> You received this message because you are subscribed to
Ack - wrong thread! Sorry!
On Feb 3, 11:31 am, Stefan wrote:
> Hi Massimo,
>
> What's the trick to update a plugin_datatable display via anAjax
> call? As an example, I have the function:
>
> def data():
> rows= db().select(db.statustable.ALL,
> orderby=db.statustable.createdon)
> retur
Hi Massimo,
What's the trick to update a plugin_datatable display via an Ajax
call? As an example, I have the function:
def data():
rows= db().select(db.statustable.ALL,
orderby=db.statustable.createdon)
return plugin_datatable(rows,_class='datatable', truncate=34)
However, when I make
Bought it. Thanks
On Tue, Feb 2, 2010 at 11:13 PM, Jonathan Lundell wrote:
> In case anyone is about to buy a copy of the manual from Lulu, there's a
> 15% discount through tomorrow. Coupon code SHADOW.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-u
fixes a few problems with CRON, typos and check for invalid field and
in DB (thanks Thedeus)
--
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
what is the traceback?
On Feb 3, 6:59 am, Carl wrote:
> Given:
> - a define_table() with a field as "compute=lambda r:r['name'].lower
> ()"
> - that I call update_record() on a row returned from a select.
>
> when I test on dev_appserver I need to include name as a parameter to
> update_record()
this is what IS_IN_DB does internally. I do not think it does help in
this case.
The fact is you need a more sohisticated autocomplete because when you
type something you need not just the autocompleted text but also the
id corresponding to it. You need to create this logic.
On Feb 3, 6:10 am, se
No but usually the same output can be produced by join or left join. I
need to see the model and what is in the "..." to be sure.
On Feb 3, 12:44 am, Guido Kollerie wrote:
> Hi,
>
> Is web2py's DAL syntax rich enough to express sub-selects of the
> following form?
>
> select *
> from ta
auth.settings.login_next = URL(...)
On Feb 3, 12:03 am, Dane wrote:
> Hey all, I've been using the @auth.requires_login() decorator and I
> love the simplicity. It was also pretty easily to hook it into google
> account authentication after a bit of searching on this group. My only
> problem with
Can you try?
mail.settings.server='localhost:25'
On Feb 3, 12:02 am, weheh wrote:
> I'm trying to get the email module to work. In my model I say:
>
> #model
> mail.settings.server='localhost' # your SMTP server
> mail.settings.login=None # your credentials
> mail
I apparently solved this. I needed to add "uploads/" between the
request.folder and the filename I got from the blob object when
concatenating the path since the files are stored in the "uploads"
folder. I missed this in my first attempts.
Kari
On Feb 3, 10:51 am, kari wrote:
> I need to read a
Given:
- a define_table() with a field as "compute=lambda r:r['name'].lower
()"
- that I call update_record() on a row returned from a select.
when I test on dev_appserver I need to include name as a parameter to
update_record() otherwise an exception is thrown by Set.update(self,
**update_fields)
nice, but for the comments i posted a format breaker :) maybe improve
that
On Feb 2, 12:57 am, mdipierro wrote:
> oops. gone. it did not belong there.
>
> On Feb 1, 5:51 pm, Richard wrote:
>
>
>
> > Very neat!
>
> > ("Change Layout" link is broken)
>
> > On Feb 2, 4:27 am, mdipierro wrote:
>
>
IS_IN_SET(dict([(i.id,i.name) for i in db(db.paint.id>0).select()]))
did not test it but it should work
On Feb 3, 10:31 am, Jason Brower wrote:
> I have autocomplete working... it properly displays the information I
> want. I also have it integrated with my model that is being rendered.
> But I
1 - 100 of 104 matches
Mail list logo