iommirocks / iommi

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

change default query for Table #511

Closed deepaktrama closed 7 months ago

deepaktrama commented 9 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 9 months ago

Yea. Specify rows.