6 at 2:31:11 PM UTC-4, Jeremy Martin wrote:
>>
>> I have a simple piece of code:
>>
>> form = SQLFORM.factory(Field("readonly_field", writable=False,
>> default="can't change")
>>,Field("some_field", requi
Dang it, my thread title is misleading. It's NOT really about the
"keepvalues" flag, it's just about read-only boolean fields not showing the
correct value after a failed form submission.
On Friday, 1 April 2016 13:31:11 UTC-5, Jeremy Martin wrote:
>
> I have a simp
I have a simple piece of code:
form = SQLFORM.factory(Field("readonly_field", writable=False, default="can't
change")
,Field("some_field", requires=IS_LENGTH(10,5))
,Field("some_flag", "boolean", writable=False,
default=True))
if form.process().acce
Okay, so I have a strange issue. I have a simple database update in a
function in a file called "scheduler.py" in the "models" folder. When I
call this function from my website running on Apache, works great, no
problem.
However, when a scheduled task runs it (i.e. something like
"/usr/bin/py
4 matches
Mail list logo