From ded056baf0bd18eede194ca3d7342d7db7eb7ffd Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 17 May 2016 08:08:30 +0200 Subject: [PATCH] fix __str__ method for epaycallback --- shop/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/models.py b/shop/models.py index 7e14e482..a9d760d6 100644 --- a/shop/models.py +++ b/shop/models.py @@ -179,7 +179,7 @@ class EpayCallback(CreatedUpdatedModel, UUIDModel): md5valid = models.BooleanField(default=False) def __str__(self): - return 'callback at %s (%smd5 valid)' % (self.created, 'not ' if not self.md5valid) + return 'callback at %s (md5 valid: %s)' % (self.created, self.md5valid) class EpayPayment(CreatedUpdatedModel, UUIDModel):