Changes between Version 11 and Version 12 of ListColumns
- Timestamp:
- Oct 28, 2010, 1:38:26 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ListColumns
v11 v12 58 58 59 59 {{{ 60 #!python 60 61 class Account(models.Model): 61 62 foo = model.BooleanField(...) … … 76 77 class AccountAdmin(admin.ModelAdmin): 77 78 list_display = ['foo', 'get_bar_column', 'baz', 'bonk', 'timeuntil_ends'] 78 79 79 }}} 80 80 … … 82 82 83 83 {{{ 84 #!python 84 85 class Account(models.Model): 85 86 foo = model.BooleanField(...) … … 109 110 ] 110 111 list_display_link = [bar_column, 'bonk'] 111 112 112 }}} 113 113