django1/django/template
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
..
backends Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
loaders Fixed #25120 -- Deprecated egg template loader. 2015-07-16 09:32:42 -04:00
__init__.py Sorted imports in __init__.py files. 2015-06-27 11:53:33 -04:00
base.py Fixed #24257 -- Corrected i18n handling of percent signs. 2015-08-12 10:23:34 -04:00
context.py Fixed #24127 -- Changed the default current_app to the current namespace. 2015-07-27 09:14:48 -04:00
context_processors.py Simplified the lazy CSRF token implementation in csrf context processor. 2015-02-08 15:02:43 -05:00
defaultfilters.py Fixed #25031 -- Fixed a regression in the unordered_list template filter. 2015-06-27 09:37:41 -04:00
defaulttags.py Fixed #24127 -- Changed the default current_app to the current namespace. 2015-07-27 09:14:48 -04:00
engine.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
exceptions.py Moved engine-related exceptions to django.template.exceptions. 2015-05-06 17:33:47 -05:00
library.py Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output. 2015-06-29 08:16:19 -04:00
loader.py Removed unreachable code 2015-06-29 17:14:29 -04:00
loader_tags.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
response.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
smartif.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
utils.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00