Changeset 68bd119


Ignore:
Timestamp:
Jan 7, 2010, 1:27:38 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
7c3ea05
Parents:
3235c66
git-author:
Alex Dehnert <adehnert@…> (01/07/10 01:27:38)
git-committer:
Alex Dehnert <adehnert@…> (01/07/10 01:27:38)
Message:

Use auto_add_now for request time on RR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • treasury/vouchers/models.py

    r3235c66 r68bd119  
    1414    budget_area = models.ForeignKey(BudgetArea)
    1515    budget_term = models.ForeignKey(BudgetTerm)
    16     request_time = models.DateTimeField(default=datetime.datetime.now)
     16    request_time = models.DateTimeField(auto_now_add=True)
    1717    approval_time = models.DateTimeField(blank=True)
    1818    printing_time = models.DateTimeField(blank=True)
Note: See TracChangeset for help on using the changeset viewer.