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
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
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
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',
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
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,
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:
> ([
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]
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
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(),
(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
()
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
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:
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)
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
*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
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
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.
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
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:
-
', 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
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
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==
24 matches
Mail list logo