fields argument in ModelTable options is ignored

Bug #422109 reported by Christian Oudard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-tables
Invalid
Undecided
Unassigned

Bug Description

Create a class similar to the following:

class DocumentTable(ModelTable):
    class Meta:
        model = Document
        fields = ['title']

The fields option is ignored. "exclude" is handled correctly.

Revision history for this message
Christian Oudard (christian-oudard) wrote :

Just realized that it should be "columns", not "fields". Please close this.

Revision history for this message
Michael Elsdörfer (miracle2k) wrote :

Yep, columns should be right. I've tried to use table/SQL terminology.

Changed in django-tables:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.