IS_IN_DB() is a validator. Usually you need it to turn a foreign key to a
human-understandable value, or to let the human select values from a set.
Depending on your model and on the number of values available, generating
the default widget in an edit form, which is an html SELECT, can take time
Hi,
I made some tests with lots of data on some tables.
In some tests I was using:
SQLFORM(db.table, record=rc)
But it became very slow after putting data
When I was debugging I found that if you use IS_IN_DB() it searches the
other table even if you are selecting one existing record or inse
Please add us Massimo:
Company: NRG Internet Solutions
Incorporated: Brazil
website: http://www.nrg.com.br
On Sunday, February 15, 2015 at 8:21:36 PM UTC-2, Massimo Di Pierro wrote:
>
> We need to update the list of companies that provide web2py consulting.
> This list is obsolete:
>
> http://w
I think, like the represented of the widget of the field. But i've seen it
just works with upload. If extend it to allow to other types to represent
with custom html(like a tooltip in my case)
Em sábado, 21 de fevereiro de 2015 15:06:13 UTC-2, Leonardo Pires Felix
escreveu:
>
> There is how mak
There is how make a widget only for represent the field on html? like to
the user to see a field with a tooltip, with the span element that i've
show above, without making the export classes get the represented(html)
inside the .csv,txt etc..?
Em terça-feira, 17 de fevereiro de 2015 16:02:20 UT
we choose an unfortunate name for gluon.serializers.json I can see how that
can create confusion.
On Saturday, 21 February 2015 06:03:24 UTC-6, clara wrote:
>
> Hello all,
>
> Massimo, I tried the same, I saved request.vars.input into a file and
> tried:from a python console:imported json and js
This is not really a web2py question. You have to use a JS library. For
example:
1) download http://www.chartjs.org/assets/Chart.min.js into
yourapp/static/js
2) create a controller like
def index():
response.files.append(URL('static','js/Chart.min.js'))
data = {
'labels': [
Sorry I was slow to get back to this, I haven't learned yet how to
subscribe to a post. Never used google groups before.
I did get the problem to go away by clicking the gear icon on the right for
w2p admin interface settings. I had to disable "Enable Close Tag". This
must be the functionality
Hi,
it seems you have spotted a codemirror issue, which has been fixed in the
new version 4.13.
see https://groups.google.com/d/topic/codemirror-announce/0bPIIIR2M8I/discussion
I'll make a PR to fix it in web2py.
Paolo
On Wednesday, February 18, 2015 at 4:56:04 PM UTC+1, dangne...@juno.com
wrot
Hello all,
Massimo, I tried the same, I saved request.vars.input into a file and
tried:from a python console:imported json and json.loads worked fine. You
nailed the problem: I imported the wrong json module:
I changed the imports from:
*from gluon.serializers import json*
to:
*from gluon.cont
I want to display a bar chart. I went through the book, wiki plugins widget
bar chart. I am unable to comprehend the matter. So pl. tell me what I
should write in the controller and view to show a bar chart. Thanks in
advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
11 matches
Mail list logo