Can you check the null in django-tables2 and make it not included in the table?

First of all, I am sorry for using a translator because I am not familiar with English.

I am currently using django-tables2, and it works.

However, the null column is included in the table, and I don't want it.

Can you check the null in django-tables2 and make it not included in the table? (Not displayed on the screen)

class MyTable(tables.Table):  
name = tables.LinkColumn('userdetail', args=[A('pk')], attrs={
    "a": {"class": "text-decoration-underline"}
})
no = tables.Column(empty_values=(), orderable=False)

def render_no(self):
    self.row_no = getattr(self, 'row_no', itertools.count())
    return next(self.row_no)+self.page.start_index()

class Meta:
    model = User
    fields = ('no', 'name', 'age', 'note',)
    attrs = {
        "class": "table table-hover",
        "tbody": {
        "id": "mytable" 
        }
    }
    order_by = 'name'
Back to Top