django1/django/utils
Marc Tamlyn 57554442fe Fixed #2443 -- Added DurationField.
A field for storing periods of time - modeled in Python by timedelta. It
is stored in the native interval data type on PostgreSQL and as a bigint
of microseconds on other backends.

Also includes significant changes to the internals of time related maths
in expressions, including the removal of DateModifierNode.

Thanks to Tim and Josh in particular for reviews.
2014-12-20 18:28:29 +00:00
..
2to3_fixes [py3] Added fixer for python_2_unicode_compatible. 2012-08-12 14:44:40 +02:00
translation Simplified caching of supported languages. 2014-11-19 21:35:40 +01:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Raised SuspiciousFileOperation in safe_join. 2014-11-11 19:05:14 +01:00
archive.py Fixed #22681 -- Made TarArchive recognize leading directories properly. 2014-06-03 12:00:33 -04:00
autoreload.py Fixed #23083 -- Fixed runserver reloading when deleting a file. 2014-07-25 13:23:52 -04:00
baseconv.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
cache.py Fixed #20346 -- Made cache middleware vary on the full URL. 2013-12-28 11:20:18 -05:00
checksums.py Fixed #23613 -- Deprecated django.utils.checksums 2014-10-10 09:22:20 -04:00
crypto.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
daemonize.py Fixed #20815 -- Don't enforce unbuffered I/O on Python 3. 2014-06-07 22:33:56 +02:00
datastructures.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
dateformat.py Fixed all E226 violations 2013-11-03 10:08:55 -08:00
dateparse.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
dates.py Correct flake8 violation E261 2013-11-02 15:27:47 -04:00
datetime_safe.py Fixed all E226 violations 2013-11-03 10:08:55 -08:00
deconstruct.py Avoided using deprecated version of importlib; refs #23418. 2014-09-10 13:07:40 -04:00
decorators.py Fixed typo in django/utils/decorators.py comment. 2014-11-24 10:45:29 -05:00
deprecation.py Corrected deprecation warnings. 2014-03-27 17:48:12 -04:00
dictconfig.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
duration.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
encoding.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
feedgenerator.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
formats.py Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. 2014-09-29 00:01:38 +07:00
functional.py Fixed #23688 -- Updated cached_property to preserve docstring of original function 2014-10-20 17:59:07 -04:00
html.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
html_parser.py Added a dummy class for HTMLParserError; refs #23763. 2014-11-05 09:54:35 -05:00
http.py Fixed #23399 -- Optimized django.utils.http.int_to_bas36() 2014-09-08 19:31:21 -04:00
importlib.py Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
ipv6.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
itercompat.py Fixed #20746 -- Removed Python 2.6 specific code/docs 2013-07-14 13:02:55 -04:00
jslex.py Added unicode_literals to the jslexer. 2014-10-15 15:09:35 +02:00
log.py Removed redundant numbered parameters from str.format(). 2014-12-03 14:27:38 -05:00
lorem_ipsum.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
lru_cache.py Fixed typo in lru_cache.py; refs #21351. 2013-11-12 18:45:35 +01:00
module_loading.py Fixed #23670 -- Prevented partial import state during module autodiscovery 2014-10-31 08:01:47 -04:00
numberformat.py Fixed #23935 -- Converted decimals to fixed point in utils.numberformat.format 2014-12-03 07:49:06 -05:00
regex_helper.py Fix many many typos in comments throughout the codebase 2014-04-26 10:18:45 -07:00
safestring.py Revert "Fixed #20296 -- Allowed SafeData and EscapeData to be lazy" 2014-02-05 21:22:40 +01:00
six.py Removed thread customizations of six which are now built-in. 2014-11-13 10:30:53 +01:00
synch.py Fixed E221 pep8 warnings. 2013-10-22 09:51:39 -04:00
termcolors.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
text.py Fixed #23558 -- documented slugify limitations 2014-10-30 09:02:04 -04:00
timesince.py Correct flake8 E302 violations 2013-11-02 19:53:29 -04:00
timezone.py Simplified caching of get_default_timezone(). 2014-11-19 21:35:39 +01:00
tree.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
tzinfo.py Add a useful stacklevel to some RemovedInDjango19Warnings 2014-03-27 15:44:52 +13:00
unittest.py Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
version.py Fixed #22867 -- Memoized django.utils.version.get_git_changeset(). 2014-08-23 09:27:36 -04:00
xmlutils.py More attacking E302 violators 2013-11-02 13:12:09 -07:00