1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans
2006-01-25 21:51:13 +00:00
parent 650d26d32e
commit faf9ff6316
6 changed files with 16 additions and 17 deletions

View File

@@ -88,7 +88,7 @@ Ultimate Ella
datetime.date(2005, 2, 13)
# Test follow (inline editing) functionality.
>>> man = Musician.ChangeManipulator(m1, follow={"albums": True})
>>> man = Musician.ChangeManipulator(m1, follow={"album": True})
>>> data = man.flatten_data()
>>> sorted_list = data.items()
>>> sorted_list.sort(lambda x, y: cmp(x[0], y[0]))