django1/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 Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:29:45 +01:00
other_templates Cleaned up template loader tests. 2015-02-24 14:00:02 +01:00
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 Fixed #23441, #24555 -- Improved the behavior of InclusionNode. 2015-04-01 13:02:19 -04:00
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 Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
broken_tag.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_callables.py Updated template tests to create their own engine. 2015-04-20 09:11:37 -05:00
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 Updated template tests to create their own engine. 2015-04-20 09:11:37 -05:00
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 Fixing E302 Errors 2013-11-02 23:48:47 -05:00
test_unicode.py Updated template tests to create their own engine. 2015-04-20 09:11:37 -05:00
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 Fixing E302 Errors 2013-11-02 23:48:47 -05:00