mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
|
@ -2,7 +2,6 @@ import datetime
|
|||
import uuid
|
||||
|
||||
from django.db import models
|
||||
from django.utils import six
|
||||
|
||||
|
||||
class Author(models.Model):
|
||||
|
@ -172,7 +171,7 @@ class Revision(models.Model):
|
|||
unique_together = (("repository", "revision"),)
|
||||
|
||||
def __str__(self):
|
||||
return "%s (%s)" % (self.revision, six.text_type(self.repository))
|
||||
return "%s (%s)" % (self.revision, str(self.repository))
|
||||
|
||||
|
||||
# models for testing callable defaults (see bug #7975). If you define a model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue