0

I just want to change the column header in Django' Admin ListView.

There is already an answer: Django admin listview Customize Column Name, but this solution (define a function and set .short_description on it) comes at the cost of no longer being able to sort by the column in question.

I cannot find any other solution. It seems to simple a wish that I cannot believe it cannot be done.

cxxl
  • 4,939
  • 3
  • 31
  • 52

1 Answers1

0

As @ac2001 writes, the solution is the admin_order_field.

cxxl
  • 4,939
  • 3
  • 31
  • 52