[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-26 Thread Lucas Schreiber
It finally worked. thank you very, very much for you patience and help. It took a while but thanks to you i finally understood how the scheduler works. Thankyou one more time :) Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: > > Hi there, > while trying to under

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
defined proper and the worker does not know what to do. Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: > > Hi there, > while trying to understand how to use the scheduler, i found this post: > https://groups.google.com/forum/#!topic/web2py/VCPZmSc0vLc > > In t

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
it startet, e.g. filling the test_table with those values every n seconds? Thank you very much for your help so far Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: > > Hi there, > while trying to understand how to use the scheduler, i found this post

[web2py] Setting up the scheduler, and letting it run from a certain point of time

2016-02-23 Thread Lucas Schreiber
Hi there, while trying to understand how to use the scheduler, i found this post: https://groups.google.com/forum/#!topic/web2py/VCPZmSc0vLc In the Post, this code is writen: db.scheduler_task.insert(function_name='task1', task_name='task1',

[web2py] Re: List in a db Request

2016-02-20 Thread Lucas Schreiber
Yeah, this works perfectly. Thank you very much :) Am Freitag, 19. Februar 2016 20:39:42 UTC+1 schrieb Niphlod: > > dba(~dba.table.name.belongs(list)).select() > > On Friday, February 19, 2016 at 7:50:13 PM UTC+1, Lucas Schreiber wrote: >> >> Hi there, >> >>

[web2py] List in a db Request

2016-02-19 Thread Lucas Schreiber
Hi there, is there a way to use a list in a db request? like this: list = [One, Two, Three] row_db = dba((dba.table.table_name!= list)).select() and getting every row, which doesnt have one of the emelents as a name? Thank you -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] SQLFORM changing the column of record

2016-01-28 Thread Lucas Schreiber
Hi, ist there a way to change the column of the record in an SQLFORM? For example, my code looks like this: module dba.define_table('test_table', Field('field_1', 'integer'), Field('field_2', 'integer')) controller def index(): record = 1 form=SQLFORM(dba.test_table, record,

[web2py] Re: saving multiple forms in a dict and giving them out in the view

2016-01-25 Thread Lucas Schreiber
es_in_db_dict}} #without the for function Am Sonntag, 24. Januar 2016 19:08:48 UTC+1 schrieb Lucas Schreiber: > > Hey, > i would like to save some values in a dict and give them out together with > a form. it should look something like this: > ([

[web2py] saving multiple forms in a dict and giving them out in the view

2016-01-24 Thread Lucas Schreiber
Hey, i would like to save some values in a dict and give them out together with a form. it should look something like this: ([] marks a button, the name n are the values, and links) name1 [Remove?] name2 [Remove?] name3 [Remove?] . . . name n [Remove?] my idea looks like this: [code]

[web2py] Re: multiple forms created by for in:

2014-05-23 Thread Lucas Schreiber
Alright, now i understand. Thats a pretty good structur, thank you very much :) Am Donnerstag, 22. Mai 2014 13:12:19 UTC+2 schrieb Lucas Schreiber: Hey, i'm sorry, i need help again :) i have a db table, and i want to create a üage where for every row is a form. my idea looks like

[web2py] multiple forms created by for in:

2014-05-22 Thread Lucas Schreiber
Hey, i'm sorry, i need help again :) i have a db table, and i want to create a üage where for every row is a form. my idea looks like this: row_db = dba(dba.user.user_id == user_id).select(dba.user.ALL) for row in row_db: form=FORM('Your name:', SELECT(),

[web2py] Re: multiple forms created by for in:

2014-05-22 Thread Lucas Schreiber
(form_element) Am Donnerstag, 22. Mai 2014 13:12:19 UTC+2 schrieb Lucas Schreiber: Hey, i'm sorry, i need help again :) i have a db table, and i want to create a üage where for every row is a form. my idea looks like this: row_db = dba(dba.user.user_id == user_id).select(dba.user.ALL) for row

[web2py] Re: creating a row3 where the rows are in row1 but not in row2

2014-05-19 Thread Lucas Schreiber
() Then it works fine. Thanks Am Sonntag, 18. Mai 2014 15:34:28 UTC+2 schrieb Lucas Schreiber: Hey, i have another Problem. Imagine you have two rows created as follow: models: dba.define_table('owned_license', Field('owner_id', 'integer'), Field('license_id', 'integer')) dba.define_table

[web2py] creating a row3 where the rows are in row1 but not in row2

2014-05-18 Thread Lucas Schreiber
Hey, i have another Problem. Imagine you have two rows created as follow: models: dba.define_table('owned_license', Field('owner_id', 'integer'), Field('license_id', 'integer')) dba.define_table('license', Field('license_name', 'integer'), Field('license_id', 'integer')) Controller:

[web2py] Re: form element select add options

2014-05-14 Thread Lucas Schreiber
Thanks, that's exactly what I was looking for :) Am Montag, 12. Mai 2014 23:58:04 UTC+2 schrieb Trend Codax: Hey guys, I have a form, a SQL Form. I'm adding an element, a select element. But how can i add Options to this element? form = SQLFORM(dba.account_directory)

[web2py] Re: Form +selectoption combined

2014-04-19 Thread Lucas Schreiber
Uhm, while working, i noticed your code does not really have all features i tried to implent, i'm sorry. Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: hey, i have a Problem and i don't know how to solve it. I want a form with an Input text field ( let's call

[web2py] Re: Form +selectoption combined

2014-04-18 Thread Lucas Schreiber
*push* still no idea Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: hey, i have a Problem and i don't know how to solve it. I want a form with an Input text field ( let's call it amount') and an select Option part (let's call it 'area'). And, finally, a submit button

[web2py] Re: Form +selectoption combined

2014-04-18 Thread Lucas Schreiber
Thanks :) Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: hey, i have a Problem and i don't know how to solve it. I want a form with an Input text field ( let's call it amount') and an select Option part (let's call it 'area'). And, finally, a submit button. All

[web2py] Form +selectoption combined

2014-04-17 Thread Lucas Schreiber
hey, i have a Problem and i don't know how to solve it. I want a form with an Input text field ( let's call it amount') and an select Option part (let's call it 'area'). And, finally, a submit button. All this shall work as follow: You enter a number in amount, choose an area and press submit.

[web2py] Re: Variables from url

2014-01-25 Thread Lucas Schreiber
Thanks :) It is exactly what i needed :) -- 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 you are subscribed to the

[web2py] Variables from url

2014-01-24 Thread Lucas Schreiber
Hi, I have a question: For example, somebody opens this page: .../profile/1 Now, in the def profile(): there shall be a variable: a=1 Or, when this page gets opened: .../profile/12345 I wish this variable: a=12345 Is it possible to do this in web2py? Can you explain me how? -- Resources: -

[web2py] Re: Form input prolem

2014-01-22 Thread Lucas Schreiber
', password= form.vars.name, email=form .vars.password, country= form.vars.name) if passwdb == passwords: redirect(URL('index')) else: redirect(URL('register')) return dict(form=form) Am Sonntag, 19. Januar 2014 19:28:23 UTC+1 schrieb Lucas Schreiber: Hi

[web2py] Re: Form input prolem

2014-01-20 Thread Lucas Schreiber
from the db fetch the Password from the form, the function Redirects to one page, else to another ( as you can see, this is just a very basic function, and not ready) hope, now it got more clear :) Am Sonntag, 19. Januar 2014 19:28:23 UTC+1 schrieb Lucas Schreiber: Hi guys, i have

[web2py] Form input prolem

2014-01-19 Thread lucas . schreiber . privat
Hi guys, i have this function: def login(): form = FORM( 'Name', INPUT(_name='name'), 'password', INPUT(_password='password'), INPUT(_type='submit')) if form.process().accepted: name = form.vars.name records = SQLTABLE(dba(dba.user.name==