mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
Fixed #12769, #12924 -- Corrected the pickling of curried and lazy objects, which was preventing queries with translated or related fields from being pickled. And lo, Alex Gaynor didst slayeth the dragon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b31b2d4da3
commit
ad5afd6ed2
8 changed files with 49 additions and 53 deletions
|
|
@ -46,7 +46,6 @@ class TranslationTests(TestCase):
|
|||
unicode(string_concat(...)) should not raise a TypeError - #4796
|
||||
"""
|
||||
import django.utils.translation
|
||||
self.assertEqual(django.utils.translation, reload(django.utils.translation))
|
||||
self.assertEqual(u'django', unicode(django.utils.translation.string_concat("dja", "ngo")))
|
||||
|
||||
def test_safe_status(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue