Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/templatetags/l10n.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-1/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+1
|
* Fixed the remaining E302 violations int eh django packageAlex Gaynor2013-11-031-0/+4
|
* [py3] Ported django.utils.encoding.Aymeric Augustin2012-08-071-3/+3
| | | | | | | | | | | * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str.
* Fixed #17135 -- Made it possible to use decorators (like ↵Aymeric Augustin2011-10-301-4/+2
| | | | | | stringfilter) on template filter functions in combination with auto-escaping. Refs #16726. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Used the decorator syntax consistently to register ↵Aymeric Augustin2011-10-291-4/+2
| | | | | | template filters. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16225 -- Removed unused imports. Many thanks to ↵Jannis Leidel2011-07-131-1/+0
| | | | | | Aymeric Augustin for the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14181 -- Added a template tag and filters to ↵Russell Keith-Magee2010-10-291-0/+67
allow localization to be disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37