django-rosetta/rosetta/tests
Yavor Atov 6375cb4109 Avoid UnicodeEncodeError when quering strings
In Python 2 if you query for text with unicode symbols,
an UnicodeEncodeError is raised.
It's because urlencode is called on unicode string.
urlencode should be called on encode strings in Python 2.
The fix is to use Django's force_bytes unility function
to pass encoded string (bytestring in Python 3) to urlencode.
2018-03-01 14:12:50 +02:00
..
test_app Fix for issue 113 and issue 125. Discovery of catalogs in apps defined by their AppConfig 2015-02-25 15:43:52 +01:00
__init__.py Check PEP8 while running tests 2018-01-10 12:44:24 +01:00
django.po.issue24gh.template Fix for issue #24. Support for --nowrap in the edited Po file 2012-01-28 08:58:41 +01:00
django.po.issue34gh.template Merged @rory's PR to correcty handle plural strings that have a leading/trailing newline (Issue #34) 2012-03-29 17:21:09 +02:00
django.po.issue38gh.template storages, wip 2012-05-23 11:44:15 +02:00
django.po.issue39gh.template Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest 2012-06-07 16:52:38 +02:00
django.po.issue60.template Added a testcase for the reflang feature. 2013-04-19 09:11:50 -04:00
django.po.issue67.template initial commit 2011-06-16 11:25:15 +02:00
django.po.issue79.template initial commit 2011-06-16 11:25:15 +02:00
django.po.issue186.template Allow searching of plural strings (source & translation). Closes #186. 2018-01-10 12:03:01 -08:00
django.po.template initial commit 2011-06-16 11:25:15 +02:00
django.po.test44.template Rewrite urls to be RESTful & views to be class-based & less cache-heavy 2018-01-09 10:45:37 -08:00
pr44.po.template Merged PR #44, wrote a test 2014-01-15 17:22:38 +01:00
tests.py Avoid UnicodeEncodeError when quering strings 2018-03-01 14:12:50 +02:00
urls.py massive cleanup, only test against supported django versions 2015-09-24 11:20:09 +02:00
views.py Added support for composite locales 2015-09-14 10:19:45 +02:00