[web2py] Re: STYLE() function has been changed in 2.17.2

2018-10-31 Thread Dave S
On Wednesday, October 31, 2018 at 2:54:58 PM UTC-7, Dave S wrote: > > > > On Tuesday, October 30, 2018 at 12:58:38 PM UTC-7, Dave S wrote: >> >> >> >> On Tuesday, October 30, 2018 at 12:49:48 PM UTC-7, A3 wrote: >>> >>> Python version 2.7.6 >>> >> >> The reason I ask is because the "bytes

[web2py] Re: STYLE() function has been changed in 2.17.2

2018-10-31 Thread Dave S
On Tuesday, October 30, 2018 at 12:58:38 PM UTC-7, Dave S wrote: > > > > On Tuesday, October 30, 2018 at 12:49:48 PM UTC-7, A3 wrote: >> >> Python version 2.7.6 >> > > The reason I ask is because the "bytes expected" message makes me think > this is a corner of the Py3 adaptation that might

[web2py] Re: Selecting a single item's entity with $('').clicking(function(){}

2018-10-31 Thread Dave S
On Wednesday, October 31, 2018 at 1:45:16 AM UTC-7, mostwanted wrote: > > I am trying to create a simple point of sale system but i am having a hard > time selecting an items, their prices and adding them up in a selected DIV. > I am not doing something right, could someone please guide me? >

[web2py] Re: Which is correct in DAL?

2018-10-31 Thread Dave S
On Wednesday, October 31, 2018 at 9:21:57 AM UTC-7, Ben Duncan wrote: > > In the books and the online manuals I see foreign key references as ( from > my table): > > db.define_table('gl_chart', > Field('company_number', 'reference company', ondelete='CASCADE'), > Field('gl_account_num',

[web2py] Which is correct in DAL?

2018-10-31 Thread Ben Duncan
In the books and the online manuals I see foreign key references as ( from my table): db.define_table('gl_chart', Field('company_number', 'reference company', ondelete='CASCADE'), Field('gl_account_num', type='string', length=20), . But the extract_pgsql_models.py does a version like

[web2py] Re: Retrieving values from appconfig.ini to a view

2018-10-31 Thread 'Francis Windram' via web2py-users
On Tuesday, 30 October 2018 20:12:11 UTC, Dave S wrote: > > > > On Tuesday, October 30, 2018 at 7:41:09 AM UTC-7, Francis Windram wrote: >> >> Good Evening, >> >> I'm a relative newby to web2py, but with a few years of Python under my >> belt and old knowledge of HTML (from the pre-HTML5 days).

[web2py] Selecting a single item's entity with $('').clicking(function(){}

2018-10-31 Thread mostwanted
I am trying to create a simple point of sale system but i am having a hard time selecting an items, their prices and adding them up in a selected DIV. I am not doing something right, could someone please guide me? *VIEW CODE:* *PRODUCTS FOR