On Wednesday, 5 March 2014 18:57:56 UTC+11, Tim Richardson wrote:
>
>
> I also don't get recpatcha working with auth login at the moment (trunk)
> That is, the recpatcha doesn't show although the Verify: label does, and
> login gets the invalid error message for a failed recaptcha input
>
> No,
I have a form in a component.
I add recaptcha like so:
form.element('table').insert(-1,TR('',form_captcha,''))
loading the component via a URL for its controller function works
but the component when loaded via LOAD doesn't display
I get this message in Firefox's web console:
"Invalid App Id:
>
> "Invalid App Id: Must be a number or numeric string representing the
> application id."
>
> That message is relating to a facebook plugin, it's not the problem with
recpatcha
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sou
I get the recaptacha rendered if I use ajax=False
{{=LOAD('default','newsletter_signup.load',ajax=False,ajax_trap=False)}}
but form processing doesn't work.
that is, form.process().accpeted is never true and neither is form.errors
ajax_true does mean that form processing works, but after an er
Hi,
Is it working without placing it in a component?
have you tried to disable the facebook plugin? I'm just wondering if there
is a correlation between the two.
Paolo
On Wednesday, March 5, 2014 10:42:13 AM UTC+1, Tim Richardson wrote:
>
>
>
>> "Invalid App Id: Must be a number or numeric strin
Very strange. This works for me at Chromium Version 32.0.1700.107 Ubuntu
12.04:
def test_date():
T.force('it')
db = DAL('sqlite:memory:')
db.define_table('test', Field('d', 'date'))
form = SQLFORM(db.test)
form.validate()
return dict(form=form)
At it.py (you can also t
On Wednesday, 5 March 2014 21:56:49 UTC+11, Paolo Valleri wrote:
>
> Hi,
> Is it working without placing it in a component?
> have you tried to disable the facebook plugin? I'm just wondering if there
> is a correlation between the two.
>
I removed the facebook plugin but it made no difference.
Thanks for your help. But it is strange that this script expects .table
files because, in the case of multiple web2py instances (with multiple
servers), you do not have these files on each instance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/w
Hi all,
I have a Nested SQLform.factory inside a custom fields form.
My code:
form = FORM(TABLE(TR("Numero de
documento:",INPUT(_type="text",_name="noid",requires=IS_NOT_EMPTY()),requires=IS_NOT_IN_DB(db,
'tabla1.noid')),
TR("Tipo de documento:" , SQLFORM.factory(Field('ti
Dear all,
I've been playing for a while with web2py and read the major part of the
book, but still I don't get with the correct answer for my problem. Here it
goes:
I want to display a form in some view. That form contains a common part (a
field 'contact_email') and then three different 'subform
agreed that it's a PITA, but if you copy table files over all the servers,
no harm will be done to your app. It's just your "distribution" process
that needs to accomodate for .table files instead of leaving the folder
empty.
On Wednesday, March 5, 2014 11:49:26 AM UTC+1, Rémy Reche wrote:
>
>
I run a couple of tests and I got the same issues, I am try to figure out
why the js library (recaptcha_canary.js) is not loaded at all
Paolo
2014-03-05 12:17 GMT+01:00 Tim Richardson :
>
>
> On Wednesday, 5 March 2014 21:56:49 UTC+11, Paolo Valleri wrote:
>>
>> Hi,
>> Is it working without pl
I don't think HTML allows nested forms.
On Wednesday, March 5, 2014 1:29:57 AM UTC-5, xgp.l...@gmail.com wrote:
>
> Hi all,
>
> I have a Nested SQLform.factory inside a custom fields form.
>
> My code:
>
> form = FORM(TABLE(TR("Numero de
> documento:",INPUT(_type="text",_name="noid",requires=IS_N
Sorry for that. My language Chrome setting was with "English" as first. Now
with Italian that's ok.
2014-03-05 12:08 GMT+01:00 mcamel :
> Very strange. This works for me at Chromium Version 32.0.1700.107 Ubuntu
> 12.04:
>
> def test_date():
> T.force('it')
>
> db = DAL('sqlite:memory:')
Greetings,
I am using web2py scheduler and looking the way to get
scheduler_run.traceback and scheduler_run.run_result for reporting.
Any idea how I can get it?
After I setting up the task by:
task=scheduler.queue_task(test_js_task,pvars=dict(x))
I can get only task.id and task.uuid.
What is the
No I am not being redirected to admin login page first. I have edited
admin/models/0.py:
EXPIRATION = 48 * 60 * 60 # logout after 48 hours of inactivity
A while could be 24 hours.
On Tuesday, March 4, 2014 4:28:38 PM UTC-5, Anthony wrote:
> On Tuesday, March 4, 2014 4:06:58 PM UTC-5, User w
VP writes:
>
>
>
> Specifically, to attract newbies, I would recommend making Chapter 3
> of the book to be better than it currently is. Right now, it's very
> good. But I think there are places that can be improved. This
> chapter is where web2py can be/should be showcased to attract the
I've looked through the book and forum and can't seem to find any reference
to a wildcard search when using the SQLFORM layout that web2py provides.
Does anyone know of a wildcard search you can use like %?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
Assuming you mean SQLFORM.grid, you should be able to use the standard SQL
% and _ wildcard characters.
Anthony
On Wednesday, March 5, 2014 12:21:16 PM UTC-5, Austin Taylor wrote:
>
> I've looked through the book and forum and can't seem to find any
> reference to a wildcard search when using t
Changing the admin login expiration only affects the admin app itself, not
appadmin, which delegates access to admin. If you want to change the
expiration for appadmin, then you'll have to edit appadmin.py
at
https://github.com/web2py/web2py/blob/master/applications/welcome/controllers/appadmin
Nothing changed after v2.9.4 update. Any ideas or remarks?
2014 m. kovas 4 d., antradienis 19:46:44 UTC+2, Donatas Burba rašė:
>
>
> After upgrading to v2.9.3 (from 2.8.2), error is thrown:
>
> Traceback (most recent call last):
> File "/vagrant/grand/web2py/gluon/restricted.py", line 217, in re
Thanks, Anthony. That worked, but I had to remove the quotes around the
search when you click new
On Wednesday, March 5, 2014 1:28:15 PM UTC-5, Anthony wrote:
>
> Assuming you mean SQLFORM.grid, you should be able to use the standard SQL
> % and _ wildcard characters.
>
> Anthony
>
> On Wednesda
On Thursday, 6 March 2014 01:06:07 UTC+11, Paolo Valleri wrote:
>
> I run a couple of tests and I got the same issues, I am try to figure out
> why the js library (recaptcha_canary.js) is not loaded at all
>
> Paolo
>
>
I've opened issues 1888 and I've worked out how to fix it (see code on the
I think that there on the features list, frameworks seekers would love to
hear about the amazing web2py ajax and component functions and all the eco
method as part of the awesome mvc system.
On Wednesday, March 5, 2014 6:23:14 PM UTC+2, Jorge Pereira wrote:
>
> VP writes:
>
> >
> >
>
> >
>
One more vote for PythonAnywhere.
Easy to setup and to use.
I can recommend to you a class at codecademy for the fundamentals:
http://www.codecademy.com/tracks/python
and then in coursera.org: An Introduction to Interactive Programming in
Python
https://www.coursera.org/course/interactivepyt
On Wednesday, March 5, 2014 3:49:22 PM UTC+1, Andrey K wrote:
>
> Greetings,
> I am using web2py scheduler and looking the way to get
> scheduler_run.traceback and scheduler_run.run_result for reporting.
> Any idea how I can get it?
> After I setting up the task by:
> task=scheduler.queue_task(
Thank you Massimo, I'll do that.
On Monday, March 3, 2014 1:19:08 AM UTC+1, Massimo Di Pierro wrote:
>
> Not really. you have to create a computed filed that discards accents and
> search the computed field instead of the original field.
>
>
> On Saturday, 1 March 2014 04:34:33 UTC-6, Wonton wrot
I've made the PR, but my knowledge of jquery/javascript is paleolithic so
Paolo is would be great if you can look at it.
It works.
https://github.com/web2py/web2py/pull/389
On Thursday, 6 March 2014 07:12:11 UTC+11, Tim Richardson wrote:
>
>
>
> On Thursday, 6 March 2014 01:06:07 UTC+11, Paolo
I'm talking at the Melbourne PUG early April re web2py. Audience is quite
academic (sciences), about 40 to 50 people usually.
The talk is about 30 minutes. I plan to cover project history, DAL,
execution model, web2py in practice (views, admin app, authentication,
widgets and SQLFORM.grid, def
Model files in the same directory execute alphabetically, but in this case
it seems that you are seeing correct behaviour.
This behaviour predates v2.8.2 but quite some time as far as I know.
the book says
Models in the same folder/subfolder are executed in alphabetical order.
https://do.gro
But I believe you should be able to define tables out of order (i.e.,
define the referenced table after the referencing table).
On Wednesday, March 5, 2014 7:55:13 PM UTC-5, Tim Richardson wrote:
>
> Model files in the same directory execute alphabetically; it seems that
> you are seeing correct
>
> 2. does, or will, web2py support python 3.x any time soon?
>
Not likely, due to the fact that it would break backward compatibility.
There have been a couple of efforts to create a working Python 3 fork, but
the fact is there isn't yet much demand for a Python 3 version, so these
forks hav
I submitted a patch which allows us to use recaptcha's ajax API. This was
the only way I could get it to work in a LOAD component.
It may solve other problems. You add ajax=True to the Recaptcha
constructor. It's not in trunk yet. The related issue is
http://code.google.com/p/web2py/issues/det
> That's because when you queue a task you don't have (yet) a scheduler_run
> record. Moreover returning the result of the task to a "queueing" operation
> is a tiddle bit a poor design (it's an async process!). However, there's
> mysched.task_status(ref, output=False)
> Ok, it's not document
I haven't tested, just an idea, instead of adding a new parameter, what
about checking current.request.ajax ?
Paolo
2014-03-06 0:59 GMT+01:00 Tim Richardson :
> I've made the PR, but my knowledge of jquery/javascript is paleolithic so
> Paolo is would be great if you can look at it.
> It works
35 matches
Mail list logo