iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
658 stars 45 forks source link

change default query for Table #511

Closed deepaktrama closed 3 months ago

deepaktrama commented 5 months ago

In your doc examples Table(auto__model=Album) loads all rows. instead of Album.objects.all() I would like to populate the table with a filter always. For example Albums.objects.filter(draft=False) Does the rows parameter do this? Is there an example in the docs?

Thank you.

boxed commented 5 months ago

Yea. Specify rows.