mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from django.db import models
|
||||
from django.utils import six
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
@@ -37,7 +36,7 @@ class Count(models.Model):
|
||||
parent = models.ForeignKey('self', models.CASCADE, null=True)
|
||||
|
||||
def __str__(self):
|
||||
return six.text_type(self.num)
|
||||
return str(self.num)
|
||||
|
||||
|
||||
class Event(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user