Django tables2 list view does not support filtering on model properties

Which kind of sucks.  If you want to filter a column, it has to either be an aggregate function of all rows, or it has to be stored in that table or in a path from that table.  It can’t be a function of that row.  Which kind of sucks, it means that any row level functional properties have to be maintained when you do a row save.

And thus were spent 4 hours of my Sunday.

You’re welcome.

Sad!

Advertisements

2 thoughts on “Django tables2 list view does not support filtering on model properties

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s