I too have this issue with using SQLFORM.factory to edit.
My model looks like:
db.define_table('upload_file',
Field('doc_type', 'reference document_type', required=True,
label=T('Type')),
Field('pdf_name', 'upload', label=T('PDF Document'),
; else T('Update Queue')
>form = SQLFORM(db.upload_file,
>request.args(0,cast=int,default=0),
> upload=URL('download'),
> submit_button=button).process()
>
>
> On Mo
load')).process()
>
> and then if form.accepted:
>
> request.vars.myfile.file.seek(0)
> data = request.vars.myfile.file.read()
>
>
>
>
> On Thursday, 1 December 2016 09:15:25 UTC-6, Kenwyn Pilgrim wrote:
>>
>> Massimo
>>
>> Thanks. This works. Just 2 fo
Hi
I'm trying to send the *id* of the newly registered user in the string
*auth.messages.verify_email*. I've tried *%(id)s* but immediately get a
ticket.
'id'
When initializing the string *auth.messages.verify_email*, I've been able
to use other place holders, such as *%(first_name)s*, *%(las
On Tuesday, June 24, 2014 6:08:48 PM UTC-5, Kenwyn Pilgrim wrote:
>
> Hi
> I'm trying to send the *id* of the newly registered user in the string
> *auth.messages.verify_email*. I've tried *%(id)s* but immediately get a
> ticket.
>
> '
e right. %(id)s should be allowed.
>
> On Wednesday, 25 June 2014 10:49:54 UTC-5, Massimo Di Pierro wrote:
>>
>> from the code gluon/tools.py
>>
>> d.update(dict(key=key, link=link,username=form.vars[username]))
>>
>>
>> On Tuesday, 24 June 2014 18:0
Hi
The *selectable* option works as expected, except that my grid *shrinks *from
taking up the entire width of the screen to shrinking to something less
than half the original width. This behaviour is seen in Chrome, Firefox &
Opera. Once I remove the selectable option, the grid goes back to its
7 matches
Mail list logo