summaryrefslogtreecommitdiff
path: root/postgresqleu/paypal
diff options
context:
space:
mode:
authorMagnus Hagander2019-01-06 11:56:40 +0000
committerMagnus Hagander2019-01-10 19:44:35 +0000
commit124027300734b72aceeb527f550c56aff8c847f3 (patch)
treef39d65335a3e3ba0c6b0f2974e818a3d1be9ec92 /postgresqleu/paypal
parenta246a6ee0992eb1b0762742081cd2ffc01d6b7ab (diff)
Replace __unicode__ with __str__
2to3 doesn't do this automatically, probably because weird things can happen if you had both. We know we didn't, so just do a straight replacement.
Diffstat (limited to 'postgresqleu/paypal')
-rw-r--r--postgresqleu/paypal/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/paypal/models.py b/postgresqleu/paypal/models.py
index e2c96493..78c17ff4 100644
--- a/postgresqleu/paypal/models.py
+++ b/postgresqleu/paypal/models.py
@@ -7,7 +7,7 @@ class SourceAccount(models.Model):
accountname = models.CharField(max_length=16, null=False, blank=False)
lastsync = models.DateTimeField(null=False, blank=False, default=datetime(2009, 1, 1))
- def __unicode__(self):
+ def __str__(self):
return self.accountname