Changeset 6a867b3


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

Revert "Use auto_add_now for request time on RR"

It isn't clear that it actually works
(http://www.b-list.org/weblog/2006/nov/02/django-tips-auto-populated-fields/#c2407)
and it keeps me from seeing that field.

This reverts commit 68bd11969e009da514cda052a90b2f81945af97c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • treasury/vouchers/models.py

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