mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
parent
f450bc9f44
commit
01e8ac47b3
@ -117,6 +117,7 @@ class FunPerson(models.Model):
|
||||
def __str__(self):
|
||||
return "%s %s" % (self.first_name, self.last_name)
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Book(models.Model):
|
||||
title = models.CharField(max_length=50)
|
||||
|
@ -448,7 +448,6 @@ class CustomManagerTests(TestCase):
|
||||
)
|
||||
self.b1.authors.add(droopy)
|
||||
|
||||
|
||||
# Check that the fun manager ONLY clears fun people.
|
||||
self.b1.authors(manager='fun_people').clear()
|
||||
self.assertQuerysetEqual(
|
||||
|
Loading…
Reference in New Issue
Block a user