rollers/product.py has this function:
---
def edit():
form = SQLFORM(db.product, request.args(0))
return dict(form=form)
---
and views/product/edit.html:
---
{{extend 'layout.html'}}
{{=T("Edit product")}}
{{=form}}
---
Hope you can help me,
Florian
rollers/product.py has this function:
---
def edit():
form = SQLFORM(db.product, request.args(0))
return dict(form=form)
---
and views/product/edit.html:
---
{{extend 'layout.html'}}
{{=T("Edit product"}}
{{=form}}
---
Hope you can help me,
Florian
sry for reposting, it somehow didn't show up...
orm=form)
>
> and this:
>
> db.product.ean.requires = IS_NOT_EMPTY(),
> IS_NOT_IN_DB(db,'product.ean')
>
> can be simplified into
>
> db.product.ean.requires = IS_NOT_IN_DB(db,'product.ean')
>
> since IS_NOT_IN_DB now checks whether
http://www.web2py.com/examples/static/cookbook2.pdf
I get: invalid function :-(
On 2 Jun., 04:31, mdipierro wrote:
> I posted another version. Now it is twice as long. still lots to say
> but please send me feedback.
>
> http://www.web2py.com/examples/static/cookbook2.pdf
>
> Massimo
--~--~---
I want to send emails using a background queue as described in the web2py book:
http://web2py.com/books/default/chapter/29/8#Sending-messages-using-a-background-task
However, the queue only sends emails that have been in the database when I
start the script. Database entries added lateron don't
*My first post somehow didn't make it to the group, I don't know where it
got lost. Sorry if I submit this twice, I have never participated in a news
group before.*
I am trying to set up a background queue for sending email as described in
the web2py
book.
http://web2py.com/books/default/chap
ntroller
function adds a confirmation email to the queue)
[0] https://groups.google.com/forum/?fromgroups#!topic/web2py/YT2jDMea6lU
On Sunday, 12 August 2012 07:17:39 UTC+12, Massimo Di Pierro wrote:
>
> Are you using mysql?
>
> On Friday, 10 August 2012 23:11:03 UTC-5, Florian Letsch wr
wrote:
>
> How are emails added to the database -- does that happen within the
> application, or also in a script?
>
> On Saturday, August 11, 2012 12:55:40 AM UTC-4, Florian Letsch wrote:
>>
>> *My first post somehow didn't make it to the group, I don't know whe
I have some custom requirements for registration, but I still want to use
auth.register() with a custom form view to rely on web2py's form validation.
Background: I have a table of allowed email addresses with a generated
secret hash. (kind of like an invitation only registration). When you
acc
I have a few additional fields set on my db_auth table, mainly in order to
implement a simple invite system:
auth.settings.extra_fields['auth_user']= [ Field('invite_sent', 'datetime',
default=None), # None for activated users
Field('invite_key')]
When the invite has been accepted, I want
I would like to access my submitted poweredby data?!
Best regards
Karl
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because
I would like to add the following link to my poweredby entry.
How can this be done?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this mes
*Sorry everybody but i need your help again.*
Here is my code:
def languages_pedit():
req_id=request.args(0)
form = SQLFORM.factory(
Field('sortpdf', 'string', label='Sort-by',
requires=IS_IN_SET(['ISO-Code','Description']), default='ISO-Code'),
formstyle = 'table3cols',
submi
>>
>>
>> On Friday, November 6, 2015 at 9:33:47 AM UTC-8, Karl Florian wrote:
>>>
>>> *Sorry everybody but i need your help again.*
>>>
>>> Here is my code:
>>>
>>> def languages_pedit():
>>>
>>
>> [.
orm is submitted, response.js will be returned to the
> browser where it will be executed, resulting in the file being downloaded.
>
> Anthony
>
> On Saturday, November 7, 2015 at 3:45:07 AM UTC-5, Karl Florian wrote:
>>
>> Hi,
>> maybe some Pictures can dem
Montag, 9. November 2015 13:25:46 UTC+1 schrieb Anthony:
> On Monday, November 9, 2015 at 3:16:46 AM UTC-5, Karl Florian wrote:
>>
>> Thank you for your very good suggestions.
>> Here is what i tried:
>> Putting the script into my print_countries view worked good.
>>
Hi,
5 fields with requires IS_IN_DB in one of my database tables makes loading
of my SQLFORM.grid and SQLFORM very slow.
It takes about 20 seconds to open up the SQLFORM.grid view.
The users need to pick values out of these 5 masterdata tables.
My Impression is that alle of these table are comp
*Hi,*
*I too upgraded to this Version.*
*My issue is the following controller function worked in the previous
versions but not in this one.*
*The onvalidation def txtlabel_valupd(form): is not filling my
form.vars.titel and form.vars.posting *
*as it did in previous versions!?*
*If form.vars.t
*Hi everybody,what is wrong with this JQuery Script?Changing the
reporttype, should hide or show the incomingref field.Best regardsCharles
Heinz Florian -Controllers -
orderrpt.py*
WHINREPS = {'CARGIN'
Hi,
i am a newby to web2py and need some help dislaying label in my application.
I’m using Latex and PSTricks to create my barcode label.pdf files.
The problem is, everthing works ok on local Windows or Ubuntu but not from
my Linux-VServer (WEbServer).
The label.pdf is created but not display
StringIO.StringIO(data))
>
>
>
>
> On Mon, Nov 2, 2015 at 4:29 PM, Karl Florian > wrote:
>
>> Hi,
>> i am a newby to web2py and need some help dislaying label in my
>> application.
>>
>> I’m using Latex and PSTricks to create my barcode label.pdf
I think i found my own solution.
Wo ever has the same Problem, try this!!!
import webbrowser
webbrowser.open_new(r'file://C:\path\to\file.pdf')
It works just the way i Need it.
Am Dienstag, 3. November 2015 16:38:06 UTC+1 schrieb Karl Florian:
>
> Hi Massimil
before.
Am Dienstag, 3. November 2015 23:31:07 UTC+1 schrieb Dave S:
>
>
> On Tuesday, November 3, 2015 at 1:26:26 PM UTC-8, Karl Florian wrote:
>>
>> I think i found my own solution.
>> Wo ever has the same Problem, try this!!!
>>
>> import web
fter the PDF file was displayed.
Thanks everybody for helping.
Am Mittwoch, 4. November 2015 01:38:15 UTC+1 schrieb Dave S:
>
>
> On Tuesday, November 3, 2015 at 3:30:59 PM UTC-8, Karl Florian wrote:
>>
>> No it didn't work on the web.
>> local Linux and Windows wo
25 matches
Mail list logo