I've been trying to build a custom calculated column and it always shows as (empty) in the admin interface list view.
The column is shown, and the callable seems to be called, but does never show any value except empty. no matter what it returns. Also, the column header is set to the specified value ... so why is the value missing?
Can someone please tell me what i'm doing wrong? I tried it with all variants described there: https://docs.djangoproject.com/en/1.4/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display
Registering is done, also the model class is fine, only the damn calculated field has no value!
as above, should be
answered 20 Sep '13, 10:15