1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

PEP-8 cleanup

Refs #21169
This commit is contained in:
Anssi Kääriäinen 2013-11-27 19:43:37 +02:00
parent f450bc9f44
commit 01e8ac47b3
2 changed files with 1 additions and 1 deletions

View File

@ -117,6 +117,7 @@ class FunPerson(models.Model):
def __str__(self): def __str__(self):
return "%s %s" % (self.first_name, self.last_name) return "%s %s" % (self.first_name, self.last_name)
@python_2_unicode_compatible @python_2_unicode_compatible
class Book(models.Model): class Book(models.Model):
title = models.CharField(max_length=50) title = models.CharField(max_length=50)

View File

@ -448,7 +448,6 @@ class CustomManagerTests(TestCase):
) )
self.b1.authors.add(droopy) self.b1.authors.add(droopy)
# Check that the fun manager ONLY clears fun people. # Check that the fun manager ONLY clears fun people.
self.b1.authors(manager='fun_people').clear() self.b1.authors(manager='fun_people').clear()
self.assertQuerysetEqual( self.assertQuerysetEqual(