Changes between Initial Version and Version 1 of Ticket #25790


Ignore:
Timestamp:
Nov 20, 2015, 6:26:58 PM (9 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25790 – Description

    initial v1  
    2929    ordering = ['valid_to']
    3030
    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_digits
    34     last4digits.short_description = '4 last digits'
    35 
    3631
    3732admin.site.register(CreditCard, CCAdmin)
Back to Top