|
|
@@ -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)
|