Fix issues with python2 imports

This commit is contained in:
Tom Price
2016-03-31 12:07:07 +01:00
parent 486c66b198
commit 0ee37b1cd3
3 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ from django.contrib.auth.models import AbstractUser
from django.conf import settings
from django.utils.functional import cached_property
from django.utils.encoding import python_2_unicode_compatible
import reversion
from reversion import revisions as reversion
import string
import random
from collections import Counter
@@ -552,4 +552,4 @@ class Payment(models.Model):
method = models.CharField(max_length=2, choices=METHODS, null=True, blank=True)
def __str__(self):
return "%s: %d" % (self.get_method_display(), self.amount)
return "%s: %d" % (self.get_method_display(), self.amount)