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
tion isn't 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
1, test_table_value = 'a')
db.commit()
return dict(c=c)
How do i get 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:
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',
stop_t
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,
>>
>>
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 (Docu
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, submit_button='te
_in_db = names_in_db_dict)
view:
{{=names_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 sho
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]
co
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
'HERE'))
form.append(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(db
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(),
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'
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:
owned_l
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)
> my
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 "tex
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 part
> (let's call it
*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 part
> (let's c
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 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". O
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 Googl
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:
-
asswords = form.vars.password
dba.user.insert(name = 'justtest', password= form.vars.name, email=form
.vars.password, country= form.vars.name)
if passwdb == passwords:
redirect(URL('index'))
else:
redirect(URL('register'))
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
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== name).select(dba.user
24 matches
Mail list logo