django1/django/utils
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
..
translation Fixed #24257 -- Corrected i18n handling of percent signs. 2015-08-12 10:23:34 -04:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Removed rmtree_errorhandler. 2015-02-22 23:09:42 +01:00
archive.py Fixed #22681 -- Made TarArchive recognize leading directories properly. 2014-06-03 12:00:33 -04:00
autoreload.py Refs #23882 -- Added detection for moved files when using inotify polling 2015-07-07 12:23:04 -04:00
baseconv.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
cache.py Removed unnecessary arguments in .get method calls 2015-05-13 20:51:18 +02:00
checksums.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
crypto.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
datastructures.py Fixed #25093 -- Added utils.datastructures.OrderedSet.__len__() 2015-07-09 21:20:52 -04:00
dateformat.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
dateparse.py Fixed #24897 -- Allowed using choices longer than 1 day with DurationField 2015-06-02 12:39:34 -04:00
dates.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
datetime_safe.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
deconstruct.py Removed some obsolete absolute_imports. 2015-02-09 13:37:23 -05:00
decorators.py Fixed #25146 -- Allowed method_decorator() to decorate classes. 2015-08-01 08:38:03 -04:00
deprecation.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
duration.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
encoding.py Fixed #24927 -- Used python_2_unicode_compatible from six 2015-06-05 08:40:57 -04:00
feedgenerator.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
formats.py Removed some obsolete absolute_imports. 2015-02-09 13:37:23 -05:00
functional.py Fixed #25000 -- Fixed cast to string for lazy objects. 2015-06-23 09:16:17 -04:00
glob.py Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
html.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
html_parser.py Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
http.py Made is_safe_url() reject URLs that start with control characters. 2015-03-18 19:20:07 -04:00
inspect.py Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
ipv6.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
itercompat.py Fixed #20746 -- Removed Python 2.6 specific code/docs 2013-07-14 13:02:55 -04:00
jslex.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
log.py Fixed #25099 -- Cleaned up HttpRequest representations in error reporting. 2015-07-13 19:22:39 -04:00
lorem_ipsum.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
lru_cache.py Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
module_loading.py Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
numberformat.py Fixed #24382 -- Allowed unicode chars inside formatted numbers 2015-03-09 18:55:28 +01:00
regex_helper.py Fixed #16362 -- Allowed lookaround assertions in URL patterns. 2015-03-23 09:00:07 -04:00
safestring.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
six.py Updated six to 1.9.0. 2015-01-02 12:35:41 -05:00
synch.py Removed threading fallback imports. 2015-01-28 10:23:25 -05:00
termcolors.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
text.py Fixed #16501 -- Added an allow_unicode parameter to SlugField. 2015-07-17 13:48:58 -04:00
timesince.py Fixed #19210 -- Added leap year support to django.utils.timesince() 2015-06-04 21:36:12 -04:00
timezone.py Simplified the implementation of timezone.is_aware/naive. 2015-05-02 21:11:03 +02:00
tree.py Removed legacy ORM lookup support per deprecation timeline; refs #16187. 2015-01-19 11:11:30 -05:00
version.py Fixed #24562 -- Renamed get_major_version() to get_main_version() 2015-04-06 09:19:34 -04:00
xmlutils.py Fixed #20197 -- Made XML serializer fail loudly when outputting unserializable chars 2015-06-19 20:54:46 +02:00