*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:}}
<tr>
 <td>{{=p.whatever}}</td>
</tr>
{{pass}}
{{pass}}

Two ways for doing that :)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/4f4bb3a3-df6e-4f4c-8674-0e793645379f%40googlegroups.com.

Reply via email to