On Wednesday, November 1, 2017 at 8:36:49 AM UTC-7, runr...@gmail.com wrote:
>
> I have scrapped the controller I was using because it wasn't working but
> it was something like this
> def display_form():
> *record = alpha.person(request.args(0)) or redirect (URL('index'))*
> form=SQLFOR
I have scrapped the controller I was using because it wasn't working but it
was something like this
def display_form():
*record = alpha.person(request.args(0)) or redirect (URL('index'))*
form=SQLFORM(alpha.person,* record)*
if form.process(keepvalues=True).accepted:
response.f
On Tuesday, October 31, 2017 at 11:54:59 AM UTC-7, R U wrote:
>
> I am curious of how to override an existing record in a database via a
> form.
>
> Take for example a simple input of
> db = DAL('sqlite://storage.sqlite')
> db.define_table('person',
> Field('email', requires=IS_EMAIL()),
>
3 matches
Mail list logo