Ignore:
Timestamp:
Aug 6, 2011, 5:35:15 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
165e5aa, 5b834ab
Parents:
c9d8369
git-author:
Alex Dehnert <adehnert@…> (08/06/11 05:35:15)
git-committer:
Alex Dehnert <adehnert@…> (08/06/11 05:35:15)
Message:

Improve admin usability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/models.py

    rc71d5c7 rbb674c2  
    3030            )
    3131        super(FYSM, self).save(*args, **kwargs) # Call the "real" save() method.
     32
     33    def __str__(self, ):
     34        return "%s (%d)" % (self.display_name, self.year, )
    3235
    3336    class Meta:
Note: See TracChangeset for help on using the changeset viewer.