Changeset 752ebd9
- Timestamp:
- 05/25/12 17:54:52 (12 months ago)
- Branches:
- master, crem, crem2, dev, diadems, generic, lam, nlivemulti, release/1.4.4, storage
- Children:
- 9fa4646
- Parents:
- 6b3e6e5
- git-author:
- yomguy <yomguy@…> (05/25/12 17:54:52)
- git-committer:
- yomguy <yomguy@…> (05/25/12 17:54:52)
- Location:
- telemeta
- Files:
-
- 2 edited
-
admin.py (modified) (1 diff)
-
models/format.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/admin.py
r6b3e6e5 r752ebd9 77 77 78 78 class FormatAdmin(admin.ModelAdmin): 79 search_fields = [' code', 'vendor', 'item__code']79 search_fields = ['original_code', 'tape_reference'] 80 80 81 81 class UserProfileInline(admin.StackedInline): -
telemeta/models/format.py
r305d2e3 r752ebd9 88 88 def __unicode__(self): 89 89 if self.physical_format: 90 return self.physical_format.value 90 return ' - '.join([self.physical_format.value, self.original_code, 91 self.item.public_id]) 91 92 else: 92 93 return 'Unknown'
Note: See TracChangeset
for help on using the changeset viewer.
