Changes between Version 11 and Version 12 of ListColumns


Ignore:
Timestamp:
Oct 28, 2010, 1:38:26 AM (14 years ago)
Author:
Alex Kamedov
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