Changeset b1e217a


Ignore:
Timestamp:
Apr 30, 2010, 4:11:02 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
d601b0b
Parents:
857256d
git-author:
Alex Dehnert <adehnert@…> (04/30/10 16:11:02)
git-committer:
Alex Dehnert <adehnert@…> (04/30/10 16:11:02)
Message:

Handle documentation better in the admin

Location:
remit/vouchers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • remit/vouchers/admin.py

    rc4cab48 rb1e217a  
    1616
    1717    fieldsets = [
    18         ('Expense details', {'fields': ['name', 'description', 'amount', 'budget_area', 'budget_term', 'incurred_time', ] }),
     18        ('Expense details', {'fields': ['name', 'description', 'amount', 'budget_area', 'budget_term', 'incurred_time', 'documentation', ] }),
    1919        ('Request metadata', {'fields': ['submitter', 'request_time', 'approval_time', 'approval_status', ]}),
    2020        ('Recipient', {'fields': ['check_to_first_name', 'check_to_last_name', 'check_to_email', 'check_to_addr', ] }),
  • remit/vouchers/models.py

    ra5fc5c8 rb1e217a  
    3131    name = models.CharField(max_length=50, verbose_name='short description', )
    3232    description = models.TextField(blank=True, verbose_name='long description', )
    33     documentation = models.ForeignKey('Documentation', null=True, )
     33    documentation = models.ForeignKey('Documentation', null=True, blank=True, )
    3434    voucher       = models.ForeignKey('Voucher',       null=True, )
    3535
Note: See TracChangeset for help on using the changeset viewer.