django1/django/utils
Gary Wilson Jr 5ca0b9203b Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring of the function they decorate by adding a modified version of the `functools.wraps` function from Python 2.5. `wraps` has been altered to work with Django's `curry` function and with Python 2.3, which doesn't allow assignment of a function's `__name__` attribute. This fixes severaly annoyances, such as the online documentation for template filters served by the admin app. This change is backwards incompatible if, for some reason, you were relying on the name of a Django decorator instead of the function it decorates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-25 06:02:35 +00:00
..
simplejson Fixed #3320: upgraded django.utils.simplejson to simplejson version 1.5. Thanks, Lawrence Oluyede. 2007-01-30 22:34:15 +00:00
translation Fixed #6409 -- Unbreak compound locale name parsing (e.g. zh-cn). 2008-02-06 01:04:30 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_decimal.py Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00
_os.py Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have it 2007-08-12 12:49:01 +00:00
_threading_local.py Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, scott@clued-in.co.uk 2006-06-01 04:57:10 +00:00
autoreload.py Fixed #2330 -- Added hack to stop KeyErrors from being thrown by the autoreloading development server if USE_I18N=False 2006-07-28 22:13:34 +00:00
cache.py Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP header 2007-11-29 16:57:18 +00:00
checksums.py Fixed #5475 -- Added the Luhn check algorithm to django.utils.checksums so that 2007-10-20 13:40:20 +00:00
daemonize.py Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com 2006-06-20 05:24:19 +00:00
datastructures.py Fixed #6627 -- Made dict.clear() work for SortedDicts. 2008-02-21 21:27:44 +00:00
dateformat.py Fixed #5869 -- Corrected documentation for `now` template tag's "r" format character. Thanks, xavier.morel@masklinn.net. 2007-11-04 01:14:58 +00:00
dates.py Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +00:00
decorators.py Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring of the function they decorate by adding a modified version of the `functools.wraps` function from Python 2.5. `wraps` has been altered to work with Django's `curry` function and with Python 2.3, which doesn't allow assignment of a function's `__name__` attribute. This fixes severaly annoyances, such as the online documentation for template filters served by the admin app. This change is backwards incompatible if, for some reason, you were relying on the name of a Django decorator instead of the function it decorates. 2008-02-25 06:02:35 +00:00
encoding.py Fixed #6301 -- Added '*' to the characters not converted by iri_to_uri(), as 2008-02-03 02:21:51 +00:00
feedgenerator.py Fixed #6303 -- Handle missing language specification in feed generation. Thanks, david. 2008-02-03 03:23:10 +00:00
functional.py Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring of the function they decorate by adding a modified version of the `functools.wraps` function from Python 2.5. `wraps` has been altered to work with Django's `curry` function and with Python 2.3, which doesn't allow assignment of a function's `__name__` attribute. This fixes severaly annoyances, such as the online documentation for template filters served by the admin app. This change is backwards incompatible if, for some reason, you were relying on the name of a Django decorator instead of the function it decorates. 2008-02-25 06:02:35 +00:00
html.py Fixed #6279, #6514 -- Fixed some HTML escaping problems in the urlize filter. 2008-02-03 08:54:26 +00:00
http.py Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
images.py Fixed #194 -- thanks, steadicat! 2005-07-25 22:16:30 +00:00
itercompat.py Fixed #5445: added some compatibility code for the lack of __iter__ in Jython 2.2. Thanks, Leo Soto. 2007-09-14 19:55:24 +00:00
maxlength.py Removed comma splices in max_length DeprecationWarning and elsewhere in the module 2007-12-04 05:56:30 +00:00
safestring.py Fixed #6071 -- Fixed another infinite recursion problem in SafeString and 2007-12-02 20:17:10 +00:00
stopwords.py Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +00:00
synch.py Removed a bunch of annoying trailing whitespace. 2007-04-25 07:25:22 +00:00
termcolors.py Second half of little cleanup tweaks suggested by pyflakes. 2006-07-21 20:39:17 +00:00
text.py Fixed #5156 -- Added some translation calls to a couple of missed words. Based on a patch from dAniel hAhler. 2007-08-15 12:09:32 +00:00
timesince.py Removed unused import. 2007-09-17 04:54:53 +00:00
tzinfo.py Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 2007-11-29 19:39:46 +00:00
version.py Fixed #5237 -- Added an optional 'path' argument to get_svn_revision(). Thanks, django@poelzi.org 2007-08-24 03:53:04 +00:00
xmlutils.py Eliminated lots of mutable default arguments (since they are bugs 2006-06-03 13:37:34 +00:00