Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/i18n/tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed #14170 -- Reset i18n cache when settings changeBouke Haarsma2013-11-031-0/+13
| |
* | PEP8 cleanupJason Myers2013-11-031-0/+3
| | | | | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* | Fixed all E261 warningscoagulant2013-11-031-1/+1
| |
* | Fixed flake8 E241Boryslav Larin2013-11-021-1/+1
| |
* | Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-5/+5
|/
* Rearranged some i18n testsClaude Paroz2013-10-281-11/+0
| | | | | Compilation/extraction tests are now properly skipped when gettext commands are unavailable.
* Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales2013-10-231-2/+1
|
* Fixed E221 pep8 warnings.Tim Graham2013-10-221-4/+4
|
* Fixed #5789 -- Changed LocaleMiddleware session variable ↵Bouke Haarsma2013-10-221-6/+28
| | | | | | | | | | to '_language'. The old 'django_language' variable will still be read from in order to migrate users. The backwards-compatability shim will be removed in Django 1.8. Thanks to jdunck for the report and stugots for the initial patch.
* Removed some direct settings manipulations in tests; ↵Bouke Haarsma2013-10-211-9/+1
| | | | refs #21230.
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-2/+2
|
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+3
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-1/+0
|
* Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill2013-10-151-2/+2
|
* Fixed tests breakage from last commit.Ramiro Morales2013-10-021-1/+1
|
* Partial revert of 165f44aa.Aymeric Augustin2013-09-221-5/+5
| | | | | | That commit didn't always improve readability. See discussion on django-developers for details.
* Fixed #21078 -- Handled additional bad Accept-Language ↵Josh Mize2013-09-091-0/+1
| | | | header
* Moved a settings usage up the stack in utils/formats.py ↵Adrian Holovaty2013-09-071-3/+2
| | | | #unsettings
* Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin2013-09-021-1/+1
|
* Combine consecutive with statementsClaude Paroz2013-08-161-20/+15
| | | | Python 2.7 allows to combine several 'with' instructions.
* Fixed #18777 -- Localized form fields with as_text/as_hiddenAleksandra Sendecka2013-08-021-0/+33
| | | | Thanks croldan for the report.
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Deprecated django.utils.importlibClaude Paroz2013-07-291-1/+1
| | | | This was a shim for pre-Python 2.7 support.
* Fixed #14825 -- LocaleMiddleware keeps languageVlastimil Zíma2013-05-251-0/+32
| | | | * LocaleMiddleware stores language into session if it is not present there.
* Removed check for 0.15 version of gettext toolsClaude Paroz2013-05-221-3/+3
| | | | gettext 0.15 has been released in July 2006.
* Fixed #11915: generic Accept-Language matches ↵Łukasz Langa2013-05-191-1/+14
| | | | country-specific variants
* Added TransRealMixin to fix i18n global state pollution ↵Łukasz Langa2013-05-191-12/+19
| | | | in the test suite
* Fixed #14894 -- Ensure that activating a translation ↵Florian Apolloner2013-05-181-0/+30
| | | | | | doesn't run into threading issues. Thanks to maxbublis for the report and sergeykolosov for the patch.
* Fixes #19919: get_language_from_request() disregards ↵Łukasz Langa2013-05-181-1/+39
| | | | | | "en-us" and "en" languages when matching Accept-Language
* Fixed #17365, #17366, #18727 -- Switched to discovery ↵Carl Meyer2013-05-111-6/+0
| | | | | | | | | | | test runner. Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
* Fixed #16612 -- Improved has_changed detection for ↵Claude Paroz2013-03-011-1/+2
| | | | | | localized field values Thanks Simon Charette for the review.
* Fixed #5241 -- Kept active transalation in ↵Aymeric Augustin2013-02-281-0/+23
| | | | LocaleMiddleware.process_response.
* Don't use os.system() in compilemessages.Ramiro Morales2013-02-271-1/+2
| | | | | | | | | | Fixes #19584. This implies stop storing file path command line arguments in envvars as a security measure to start relying on with Popen's shell=False instead, and addition of an 'utils' module. Thanks kmichel_wgs for the report.
* Fixed i18n test to match changed translationClaude Paroz2013-02-261-1/+1
| | | | Forward port of ab6ff2e0ac from stable/1.5
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-5/+5
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+1097