[web2py] Re: web2py 2.16.1 is OUT

2018-04-27 Thread lyn2py
Hello, The traceback for Python 3 is not like the ones in Python 2 and it can get difficult to debug the program, is it possible to see a fix soon? Thank you! On Tuesday, November 14, 2017 at 1:59:52 PM UTC+8, Massimo Di Pierro wrote: > > web2py 2.16.1 is OUT > > Lots of bugs fixes contributed

[web2py] Re: first use question

2018-04-27 Thread Dave S
On Friday, April 27, 2018 at 10:52:47 AM UTC-7, msul...@mail.ccsf.edu wrote: > > I'm trying to log into: > http://127.0.0.1:8000/admin/default/index?send=%2Fadmin%2Fdefault%2Fsite > >so far, I get a "log into ad

[web2py] Re: defining a field for current year in web2py using datetime for autofillin

2018-04-27 Thread Dave S
On Thursday, April 26, 2018 at 11:52:01 PM UTC-7, annika...@gmx.de wrote: > > Hm - could it be db.drop_table("orders") in the controller? But how do I > make sure it is actually dropped? > > Sorry about the confusion... > > For a onetime use, just the sqlite3 command line, you don't need to do

[web2py] first use question

2018-04-27 Thread msulli29
I'm trying to log into: http://127.0.0.1:8000/admin/default/index?send=%2Fadmin%2Fdefault%2Fsite so far, I get a "log into admin interface" message.However, when I attempt? no result ! is this typical? Rather, is

Re: [web2py] DAL return all Fields

2018-04-27 Thread Richard Vézina
for f in db.table.fields: print f or rows = db(db.fruits.id > 0).select(db.fruits.ALL) # ALL means all fields for r in rows: print(r) You can control which field you want with the previous example myfields = [f for f in db.table.fields if SOME_FILTERING_CHECK_OVER_THE_FIELD_YOU_WANT]

[web2py] Re: Validate a GET request using SQLFORM.factory and request vars

2018-04-27 Thread Anthony
On Friday, April 27, 2018 at 3:36:41 AM UTC-4, Alfonso Serra wrote: > > The auto id field, may not be a problem, i removed it for convenience for > a couple of reason: > - iterate form.fields in the view to create the html. in this case was not > needed but also the special treatment as it should

Re: [web2py] DAL return all Fields

2018-04-27 Thread Maurice Waka
Addendum I want a single list of the items (the data from all fields) regards On Fri, Apr 27, 2018 at 5:06 PM, Maurice Waka wrote: > There are several fields in my db such as this: > > db.define_table('fruit', Field('id', 'reference auth_user'), > Field('apple','boolean',label=T('Apple')),

[web2py] DAL return all Fields

2018-04-27 Thread Maurice Waka
There are several fields in my db such as this: db.define_table('fruit', Field('id', 'reference auth_user'), Field('apple','boolean',label=T('Apple')), Field('apricot','boolean',label=T('Apricot')), Field('cherry','boolean',label=T('Cherry')), Field('fig','boolean', label=T('Fig')), Field('lyc

Re: [web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-27 Thread Richard Vézina
Can you show us your code (omit your credential)... You mention you use Office 365, they might have made some change you may want to have a look in the account config if SMTP has change. Or you could also try ot use the SMTP of the FAI with a no-reply email... Richard On Thu, Apr 26, 2018 at 10:0

[web2py] Users Procedure in python for Kanboard

2018-04-27 Thread Alejandra Montiel Saavedra
Hello! I do not know much about how to code to link to Kanboard. I have a question about how to configure the user creation parameters (for me it is a bit confusing) in Python def newuser(): from kanboard import Kanboard kb = Kanboard('http://localhost/kanboard/jsonrpc.php', 'jsonrpc', '

[web2py] Insert data in firebird database

2018-04-27 Thread Константин Комков
Hello! I'm trying add data in my table. tables.py db_xml.define_table('xml_files', Field('F'), Field('I'), Field('O'), Field('IS_IMPORTED'), Field('XML_FILE'), format='%(id)s %(F)s %(I)s %(O)s %(IS_IMPORTED)s %(XML_FILE)s', migrate=False) default.py db_xml.xml_files.in

[web2py] Re: Validate a GET request using SQLFORM.factory and request vars

2018-04-27 Thread Alfonso Serra
The auto id field, may not be a problem, i removed it for convenience for a couple of reason: - iterate form.fields in the view to create the html. in this case was not needed but also the special treatment as it should lie on hidden inputs. - the type checking on this case was validating the id