Message ID | 20120307051213.8207.5059.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_scheduler_app/tables.py' --- lava_scheduler_app/tables.py 2012-03-07 01:59:51 +0000 +++ lava_scheduler_app/tables.py 2012-03-07 05:10:27 +0000 @@ -77,7 +77,7 @@ def json(cls, request, params=()): table = cls(None, None, params, _for_rendering=False) table.context = RequestContext(request) - our_cols = [_ColWrapper(name, table) for name in table.columns] + our_cols = [_ColWrapper(name, table) for name in table.columns.names()] return DataTableView.as_view( backend=QuerySetBackend( queryset=table.get_queryset(),