Changes between Initial Version and Version 1 of Ticket #25790
- Timestamp:
- Nov 20, 2015, 6:26:58 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25790 – Description
initial v1 29 29 ordering = ['valid_to'] 30 30 31 def last4digits(self, obj):32 """So we don't get bogus ordering by this field in the change list view."""33 return obj.last_four_digits34 last4digits.short_description = '4 last digits'35 36 31 37 32 admin.site.register(CreditCard, CCAdmin)