mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
Fix issues with python2 imports
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user