I opened an issue about this.
On Tuesday, 14 August 2012 12:52:52 UTC-5, Alec Taylor wrote:
>
> Can we get an update?
>
> I think this would be a good selling point for web2py, if ported.
>
> On Thursday, July 19, 2012 8:12:43 AM UTC+10, Daniel Gonzalez wrote:
>>
>> Hi,
>>
>> I have tried the exam
I rewrote most of the logic and I am posting a new version tonight. Please
check again tomorrow.
On Tuesday, 14 August 2012 15:14:29 UTC-5, Rob_McC wrote:
>
> Very cool app.
>
> I noticed following:
>
> 1- Had to add security exception in Firefox browser, https:// when I
> clicked on
> https://t
Ups, I made a double post. Anyway if there are any interested, here is an
example of use:
def validation():
from plugin_ValidationEngine import JsSQLFORM
f = JsSQLFORM.factory(
Field('first_name', requires = [IS_NOT_EMPTY(), IS_LENGTH(20, 3)],label
= 'First Name'),
Yep, that fixes it! Thanks for your work on that!
On Tuesday, August 14, 2012 6:18:29 PM UTC-4, howesc wrote:
>
> i added a patch against trunk to the ticket. spiffytech - can you see if
> that works for you?
>
> cfh
>
> On Monday, August 13, 2012 12:20:02 AM UTC-7, howesc wrote:
>>
>> we do sp
I already submitted a ticket.
Anthony
On Tuesday, August 14, 2012 8:44:17 PM UTC-4, Massimo Di Pierro wrote:
>
> Please submit a ticket. I can fix this tonight.
>
> On Tuesday, 14 August 2012 11:48:36 UTC-5, Rob_McC wrote:
>>
>> Hey!
>>
>> > we're counting how many times you click on it. ;-)
>> .
ok, moving along,
what if i want the option of allowing the user to leave:
...
Field('lecture_item_id', db.lecture_items, requires=IS_IN_DB(db,
db.lecture_items.id, '%(title)s (%(id)s)')),
...
blank. meaning, if the user choses it in the select element, fine, it
should be in the refer
IS_EMPTY_OR(IS_IN_DB(db, db.lecture_items.id, '%(title)s (%(id)s)'))
Anthony
On Tuesday, August 14, 2012 10:59:42 PM UTC-4, lucas wrote:
>
> ok, moving along,
>
> what if i want the option of allowing the user to leave:
>...
>Field('lecture_item_id', db.lecture_items, requires=IS_IN_DB(db
Thanks a heap Franco :)
The only suggestion I have is to add the `IS_MATCH` validator
On Wed, Aug 15, 2012 at 11:12 AM, Franco wrote:
> Ups, I made a double post. Anyway if there are any interested, here is an
> example of use:
>
> def validation():
>
>
>
> from plugin_ValidationEngine impo
I'm trying to use supervisord to monitor scheduler workers.
My supervisord.conf file:
[program:my_scheduler]
command={my_site_path}/web2py/web2py.py -K my_app
When I launch supervisord, a worker shows up in the scheduler. However,
when I compare the listed pid in the supervisord console, it doe
Thanks. fixed. Let me know if there are still problems.
On Tuesday, 14 August 2012 21:25:48 UTC-5, Anthony wrote:
>
> I already submitted a ticket.
>
> Anthony
>
> On Tuesday, August 14, 2012 8:44:17 PM UTC-4, Massimo Di Pierro wrote:
>>
>> Please submit a ticket. I can fix this tonight.
>>
>> On
Hi Anthony,
I meant if "r" does not exist within session -- although "r" exists at the
> top level, there is no session.r defined, is there?
>
No, session[id] is defined, session.r is not. Now I understand why
f=r['Nav']['function']
if f:
session[id].f=True
does work. Thanks for
Hi Anthony,
>
>> Is it possible to put these conditions in a separate function, and call
>> that function from every function that needs it? Something like:
>>
>
> Yes, I was going to suggest that.
>
Yes, coding it the way I did was rather ugly.
For now I'll use this solution, after finishing
Hello,
Quick question:
Instead of {{=auth.login()}}, I am using the following to be able to
customize my login form. However the resulting form does not work and I
cannot login with the same username/password that enable me to login if I
had used {{=auth.login()}} -- I get the flash error: Inva
Hi,
I have kept some subroutines in modules folder of a web2py application. I
have been trying to edit those modules but was unable. Changes doesn't
reflect, even when I delete the compiled version from the folder.
Is that the way it designed or I am I doing something wrong?
Appreciate your res
Something like this
https://snipt.net/rochacbruno/again-an-approach-to-model-less-in-web2py/ should
be standardized in web2py in future releases. There are a few concepts
described in this forum but web2py needs some standardized approach
integrated into core ... is there any discussion on thi
I'm pleased to announce the 1.7 release of FPDF for python (pyfpdf)
library, a port of the "Free-PDF" generator originally developed in
PHP:
https://code.google.com/p/pyfpdf/
Changelog:
* added UTF-8 TTF font subset embedding
* experimental Py3K compilance
* added PNG alpha channel support
*
In menu.db I tried with:
response.subtitle = T('Aggregator for')+A('Company',
_href='http://company.org/')
And
response.subtitle = T('Aggregator for')+'http://company.org/";>Company')
But neither rendered the hyperlink, both left me with a subtitle displaying
"a href"…
How do I add a hyperl
response.subtitle = *XML*(T('Aggregator for')+A('Company', _href='
http://company.org/'))
*Bruno Cezar Rocha** - @rochacbruno*
rochacbr...@gmail.com | Mobile: +55 (11) 99210-8821
www.CursoDePython.com.br | www.rochacbruno.com.br
Blog: Open links which points outside your own site in a new
window
Modules will persist. Use this code in your controller in development mode
:)
from gluon.custom_import import track_changes; track_changes(True)
On Wednesday, August 15, 2012 1:55:16 PM UTC+8, Janath wrote:
>
> Hi,
> I have kept some subroutines in modules folder of a web2py application. I
>
Maybe you can show us the controller code?
The controller needs to have code that looks something like:
form=SQLFORM(db.table)
if form.process().accepted:
response.flash = 'form accepted'
elif form.errors:
response.flash = 'form has errors'
return dict(form=form)
101 - 120 of 120 matches
Mail list logo