Browse Source

Corrected field type

master
David Winterbottom 14 years ago
parent
commit
6dcf705ed0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      oscar/apps/payment/models.py

+ 1
- 1
oscar/apps/payment/models.py View File

@@ -21,7 +21,7 @@ class Transaction(models.Model):
21 21
     amount = models.DecimalField(decimal_places=2, max_digits=12)
22 22
     reference = models.CharField(max_length=128, null=True)
23 23
     status = models.CharField(max_length=128, null=True)
24
-    date_created = models.DateField(auto_now_add=True)
24
+    date_created = models.DateTimeField(auto_now_add=True)
25 25
     
26 26
     def __unicode__(self):
27 27
         return "%s of %.2f" % (self.txn_type, self.amount)

Loading…
Cancel
Save