django1/django
Ramiro Morales ff7556c4ec Fixed #11240 -- Made makemessages i18n command escape % symbols in literals passed to the trans tag.
This avoids problems with unintended automatic detection, marking and
validation of Python string formatting specifiers performed by
xgettext(1)/msgfmt(1) that stem from the fact that under the hood makemessages
converts templates to Python code before passing them to xgettext.

This also makes it consistent with its behavior on literals passed to the
blocktrans tag.

Thanks Jannis and claude for reviewing and feedback.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-11 00:07:06 +00:00
..
bin Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
conf Fixed #16247 -- Removed wildcard expansion of application names in INSTALLED_APPS. 2011-11-27 20:13:37 +00:00
contrib Fixed #16845 -- Admin 'Change user' page no longer shows the password hash. Thanks, dstufft 2011-12-09 22:10:03 +00:00
core Fixed a couple of typos. 2011-12-03 17:34:52 +00:00
db Fixed #16818 -- Fixed ORM bug with many-to-many add() method where it wasn't committing the change. Thanks, pressureman and kmtracey 2011-12-09 23:16:56 +00:00
dispatch Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
forms Changed BoundField.subwidgets() to return SubWidget objects instead of rendered strings. This means we can access individual radio buttons' properties in the template (see new docs) 2011-12-07 23:08:27 +00:00
http Remove all relative imports. We have always been at war with relative imports. 2011-10-18 00:47:49 +00:00
middleware Fixed #16705 - Made the test client adhere to the WSGI spec -- in particular, removed the assumption that environ['QUERY_STRING'] exists. 2011-10-06 20:39:15 +00:00
shortcuts Fixed #15010 -- Added current_app parameter to close gap between TemplateResponse and render method. Thanks, acdha. 2011-01-05 22:41:43 +00:00
template Fixed #17348 -- Implemented {% elif %}. Refs #3100. 2011-12-09 22:13:27 +00:00
templatetags Fixed #17255 -- Removed "as" prefix from new timezone template filter names for the sake of clarity. Cheers to Aymeric Augustin for bearing with me. 2011-11-18 15:00:08 +00:00
test Fixed #16040 -- Preserved scheme, host and port in the test client when following a redirect. 2011-11-27 20:04:13 +00:00
utils Fixed #11240 -- Made makemessages i18n command escape % symbols in literals passed to the trans tag. 2011-12-11 00:07:06 +00:00
views Upgraded the date based generic views to avoid warnings when time zone support is enabled. 2011-11-20 15:34:08 +00:00
__init__.py Django is now 1.4 pre-alpha. 2011-04-30 22:51:48 +00:00