From 7b2f2e74adb36a4334e83130f6abc2f79d395235 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 29 Dec 2016 16:27:49 +0100 Subject: Refs #23919 -- Removed six._types usage Thanks Tim Graham and Simon Charette for the reviews. --- tests/order_with_respect_to/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/order_with_respect_to') diff --git a/tests/order_with_respect_to/models.py b/tests/order_with_respect_to/models.py index 8f50b42252..7f6cd8f8fd 100644 --- a/tests/order_with_respect_to/models.py +++ b/tests/order_with_respect_to/models.py @@ -3,7 +3,6 @@ Tests for the order_with_respect_to Meta attribute. """ from django.db import models -from django.utils import six class Question(models.Model): @@ -18,7 +17,7 @@ class Answer(models.Model): order_with_respect_to = 'question' def __str__(self): - return six.text_type(self.text) + return self.text class Post(models.Model): -- cgit v1.2.1