Re: [web2py] py4web has now a grid ...

2019-09-13 Thread Massimo Di Pierro
Nothing prevents you from including css into the .html of linking a css file from html. Not sure that is a good idea because pages look nicer when there is one single css style. On Friday, 13 September 2019 06:16:45 UTC-7, Carlos Costa wrote: > > I like the idea of loading components

[web2py] Re: 1215 Cannot add foreign key constraint

2019-09-13 Thread Steve
Hi Dave, Finally i got to the root of the problem :-) Turns out to be a builders error ... yes, my own error. In the very first table there is a reference to a logged in user which does not exist when trying to create the tables ( same for loading the data). Quick work around is swapping

[web2py] Re: 1215 Cannot add foreign key constraint

2019-09-13 Thread Steve
Hi Dave, Ok, that fake_migration only creates *.tables file i did not know Migrate True only one time .. that i knew but for some reason only 1 table is created from the 25+ so something is wrong. Don't know what yet Op donderdag 12 september 2019 10:49:15 UTC+2 schreef Dave S: > > > >

Re: [web2py] py4web has now a grid ...

2019-09-13 Thread Carlos Costa
I like the idea of loading components dynamically. My only point about SFC is about being a standard. And what about css? Could it be a TFC Three-File-Components? Em sex, 13 de set de 2019 às 01:11, Massimo Di Pierro < massimo.dipie...@gmail.com> escreveu: > To clarify. > > I do not like SFC

Re: [web2py] Why is my if/else statement not working

2019-09-13 Thread Jirawat Kusolpreedee
every python code must be enclosed in {{}} also you need a {{pass}} at the end of if-else statement On Fri, Sep 13, 2019 at 2:31 PM mostwanted wrote: > This conditional statement should be simple & execute without any issues, > I have created a point of Sale system, in a view it shows all the

[web2py] Why is my if/else statement not working

2019-09-13 Thread mostwanted
This conditional statement should be simple & execute without any issues, I have created a point of Sale system, in a view it shows all the items & their available quantities, what i want is that when a product's quantity goes below 10 the quantity figure should turn red & a please refill

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-13 Thread Rahul Dhakate
Thanks! Dave and Pbop for getting back with the answers. Sorry about posting less details *@dave* - No, I do not intend to run web2py on mobile device. Web2py would serve my application on the web as it usually does. The idea is to write another simple iOS or Android application in some tool