1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/template_tests
Doug Beck b7508896fb Fixed #24257 -- Corrected i18n handling of percent signs.
Refactored tests to use a sample project.

Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
  so they are not interpreted by gettext as string format flags. All
  strings extracted by gettext, if containing a percent sign, will now
  be labeled "#, python-format".

Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
2015-08-12 10:23:34 -04:00
..
eggs
filter_tests Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
jinja2/template_tests
other_templates
recursive_templates Fixed #15053 -- Enabled recursive template loading. 2015-04-22 14:49:00 -05:00
syntax_tests Fixed #24257 -- Corrected i18n handling of percent signs. 2015-08-12 10:23:34 -04:00
templates
templatetags Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output. 2015-06-29 08:16:19 -04:00
__init__.py
alternate_urls.py
broken_tag.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_callables.py
test_context.py Fixed #24847 -- Prevented items set on a RequestContext from being lost. 2015-05-27 10:04:57 -04:00
test_custom.py Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output. 2015-06-29 08:16:19 -04:00
test_engine.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_extends.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_library.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_loaders.py Fixed #25120 -- Deprecated egg template loader. 2015-07-16 09:32:42 -04:00
test_logging.py
test_nodelist.py Used %r in the TextNode repr to show newlines better. 2015-06-30 09:54:18 -04:00
test_parser.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_response.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_smartif.py
test_unicode.py
tests.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
urls.py Fixed #24127 -- Changed the default current_app to the current namespace. 2015-07-27 09:14:48 -04:00
utils.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
views.py