viewflow / django-material

Material Design for Django
http://viewflow.io/
BSD 3-Clause "New" or "Revised" License
2.49k stars 424 forks source link

When list_display=('column') has the element length of 1, template thinks each letter as a field #466

Closed ntai closed 4 years ago

ntai commented 4 years ago

For example, this does not work.

class TeamViewSet(ModelViewSet): model = Team list_display = ('name') pass

kmmbvnr commented 4 years ago

That's python syntax, you should use list_display = ('name', )