mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
parent
f6acd1d271
commit
7b2f2e74ad
213 changed files with 574 additions and 763 deletions
|
@ -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").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue