Changes between Version 11 and Version 12 of ListColumns


Ignore:
Timestamp:
10/28/2010 01:38:26 AM (5 years ago)
Author:
alekam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ListColumns

    v11 v12  
    5858
    5959{{{
     60#!python
    6061class Account(models.Model):
    6162    foo = model.BooleanField(...)
     
    7677class AccountAdmin(admin.ModelAdmin):
    7778    list_display = ['foo', 'get_bar_column', 'baz', 'bonk', 'timeuntil_ends']
    78 
    7979}}}
    8080
     
    8282
    8383{{{
     84#!python
    8485class Account(models.Model):
    8586    foo = model.BooleanField(...)
     
    109110    ]
    110111    list_display_link = [bar_column, 'bonk']
    111 
    112112}}}
    113113
Back to Top