Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
Claude Paroz 2016-12-29 16:27:49 +01:00
parent f6acd1d271
commit 7b2f2e74ad
213 changed files with 574 additions and 763 deletions

View file

@ -4,7 +4,6 @@ Various complex queries that have been problematic in the past.
import threading
from django.db import models
from django.utils import six
class DumbCategory(models.Model):
@ -142,7 +141,7 @@ class Number(models.Model):
num = models.IntegerField()
def __str__(self):
return six.text_type(self.num)
return str(self.num)
# Symmetrical m2m field with a normal field using the reverse accessor name
# ("valid").