fields argument in ModelTable options is ignored

Bug #422109 reported by Christian Oudard on 2009-08-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-tables
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.

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

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  Edit
Everyone can see this information.

Other bug subscribers