Re: Missing template variable when using django admin list_display

2010-08-30 Thread Karen Tracey
On Mon, Aug 30, 2010 at 4:13 PM, christian.oudard < christian.oud...@gmail.com> wrote: > On Django 1.2, I'm getting a missing template variable when using a > custom formatter in the django admin. > > Here is my admin class: > > class CustomerAdmin(admin.ModelAdmin): >fields = [ >'name

Missing template variable when using django admin list_display

2010-08-30 Thread christian.oudard
On Django 1.2, I'm getting a missing template variable when using a custom formatter in the django admin. Here is my admin class: class CustomerAdmin(admin.ModelAdmin): fields = [ 'name', ] list_display = [ 'name', 'customer_tenants', ] def customer_ten