Thanks again Paco Bernal, I can finally move on to other things.
Regards;
Mostwanted
On Sunday, September 15, 2019 at 1:01:02 PM UTC+2, Paco Bernal wrote:
>
>
>
> * Is there a way i could choose what gets displayed in the view & what
>> doesn't get displayed from the database table based on
*Is there a way i could choose what gets displayed in the view & what
doesn't get displayed from the database table based on its content using
only python??*
{{for p in products:}}
{{if p.Quantity>0:}}
{{=p.whatever}}
{{pass}}
{{pass}}
Two ways for doing that :)
--
Resources:
-
* Is there a way i could choose what gets displayed in the view & what
> doesn't get displayed from the database table based on its content using
> only python??*
>
>
{{for p in products:}}
{{=p.whatever}}
{{pass}}
--
Resources:
- http://web2py.com
- http://web2py.com/book
3 matches
Mail list logo