Changeset 2fb5a35 for remit


Ignore:
Timestamp:
May 17, 2010, 12:56:16 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
57beb94
Parents:
9102ac9
git-author:
Alex Dehnert <adehnert@…> (05/17/10 00:56:16)
git-committer:
Alex Dehnert <adehnert@…> (05/17/10 00:56:16)
Message:

Increase the length of the transaction name field

Previously, the transaction name field was 40 characters. However, the
reimbursement request short description field was 50 characters. Therefore,
long request names could overflow the transaction's name field, causing
voucher approval to fail with a 500 error.

Location:
remit/finance_core
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • remit/finance_core/models.py

    r82211ea r2fb5a35  
    143143
    144144class Transaction(models.Model):
    145     name = models.CharField(max_length=40)
     145    name = models.CharField(max_length=60)
    146146    desc = models.TextField(blank=True)
    147147    incurred_time  = models.DateTimeField(default=datetime.datetime.now, help_text='Time the item or service was purchased')
Note: See TracChangeset for help on using the changeset viewer.