from django.utils.translation import ungettext_lazy

from django_tables2_reports.tables import TableReport

class DashboardTable(TableReport):
    caption = ungettext_lazy('%d Row', '%d Rows')

    def get_caption_display(self):
        # Allow overriding the caption with an arbitrary string that we cannot
        # interpolate the number of rows in
        try:
            return self.caption % self.paginator.count
        except TypeError:
            pass
        return self.caption

    class Meta:
        template = 'dashboard/table.html'
        attrs = {'class': 'table table-striped table-bordered'}

@@ -101,16 +101,17 @@
 Report%0A%0A
+%0A
 class Da
@@ -500,16 +500,24 @@
 ass Meta
+(object)
 :%0A      

Use new style class to allow for dynamic table class creation