django1/django/utils
Luke Plant a482cc0ba3 Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResponse
The root bug was in decorator_from_middleware, and the fix also corrects
bugs with gzip_page and other decorators.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-24 21:28:43 +00:00
..
simplejson Fixed #10006 -- Avoid inadvertently using third-party "json" module. 2009-02-27 05:14:11 +00:00
translation Added missing callables to django.utils.translation.__all__ (`override` and `ugettext_noop`). Many thanks to Ramiro for the hint. 2011-05-10 18:49:04 +00:00
unittest Fixed #15635 -- Converted two legacy old-style raise statements. Thanks, DaNmarner 2011-03-26 03:30:48 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Fixes #8593 -- better handling of safe_join case sensitivity on windows. Thanks for the initial patch, ramiro. 2011-05-22 23:56:42 +00:00
_threading_local.py More typo fixing. :-( 2009-03-20 00:58:35 +00:00
autoreload.py Ensure stdin is a tty before handing it to termios, so as to prevent prolems when running under IDEs. 2011-03-24 12:36:33 +00:00
baseconv.py Fixed #12417 -- Added signing functionality, including signing cookies. Many thanks to Simon, Stephan, Paul and everyone else involved. 2011-05-21 14:41:14 +00:00
cache.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +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
copycompat.py Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps. 2011-03-30 08:34:05 +00:00
crypto.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +00:00
daemonize.py Fixed #6994 -- For fastcgi, set a more sensible default umask. 2008-06-30 11:22:41 +00:00
datastructures.py Fixed #6580 -- Added `default` parameter to `MultiValueDict.getlist` method (the base class for `QueryDict`). Many thanks to mk and andrewebdev. 2011-05-22 15:05:29 +00:00
dateformat.py Fixed #14570 -- Added new date format character for alternative month names using the new context capabilities. Also add context to Associated Press style month names (refs #9988). Thanks to Claude and shell_dweller. 2010-12-13 13:51:28 +00:00
dates.py Fixed #9988 (again) -- Updated list of Associated Press months names to use a translation context. Thanks, Claude Paroz. 2011-01-21 22:25:50 +00:00
datetime_safe.py Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. 2010-02-13 14:02:32 +00:00
decorators.py Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResponse 2011-05-24 21:28:43 +00:00
dictconfig.py Fixed #12012 -- Added support for logging. Thanks to Vinay Sajip for his draft patch, and to the many people who gave feedback during development of the patch. 2010-10-04 15:12:39 +00:00
encoding.py Fixed #15181 -- Ensure that special characters are escaped when querying for the URL of an uploaded file. Thanks to e.generalov for the report and patch. 2011-02-04 14:43:10 +00:00
feedgenerator.py Simplified django.utils.feedgenerator.get_tag_uri now that we don't require Python 2.4 2011-03-28 02:25:26 +00:00
formats.py Fixed #5714 -- Strip whitespaces around date and time form field values before converting it to a native type. Thanks to SmileyChris for the initial patch. 2011-05-01 16:14:57 +00:00
functional.py Fixed #15811 - lazy() doesn't take into account methods defined in parents 2011-05-05 00:09:51 +00:00
hashcompat.py Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps. 2011-03-30 08:34:05 +00:00
html.py Fixed #7267 - UnicodeDecodeError in clean_html 2011-04-28 14:08:53 +00:00
http.py Fixed #9089 -- Correctly handle list values in MultiValueDict instances when passed to django.utils.http.urlencode. Thanks, kratorius, guettli and obeattie. 2011-04-22 12:01:41 +00:00
importlib.py Fixed #8193: all dynamic imports in Django are now done correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett! 2009-03-18 16:55:59 +00:00
itercompat.py Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps. 2011-03-30 08:34:05 +00:00
log.py Changed e-mail to email throughout documentation and codebase. The one exception is translation strings, which I didn't want to disrupt 2011-04-01 16:10:22 +00:00
module_loading.py Fixed #15662 -- Made sure the module_has_submodule utility function follow correct PEP 302, passing the package as the second argument to the find_module method of the importer. Thanks, Bradley Ayers. 2011-04-22 12:03:18 +00:00
numberformat.py Fixed #13810 -- Truncate numbers correctly when given number of decimal positions is zero. Thanks, milosu and Łukasz Rekucki. 2011-04-22 12:03:10 +00:00
regex_helper.py Changed the reverse() call for creating URLs to convert a "." in the reg-exp 2008-09-03 17:53:45 +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 Fixed #12849 -- Corrected the way strings are encoded for display by the colorizer so that they work with unicode. Thanks to jype for the report, and frasern for his work on the issue. 2010-03-18 13:24:11 +00:00
text.py Fixed #5672 -- Allow the separator in the get_text_list utility function to be translated. Thanks, Claude. 2010-12-12 22:53:49 +00:00
timesince.py Fixed #9065 -- Fixed the `timesince` and `timeuntil` template tags to work when both values involved are date objects, thanks to morty and mboersma for the patch. 2009-03-30 21:32:34 +00:00
tree.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +00:00
tzinfo.py Fixed #10979 -- Fixed misleading FixedOffset.__repr__(). Thanks, gsong 2010-01-10 17:28:20 +00:00
version.py Fixed #10372: made `get_svn_revision()` more robust. Thanks, mboersma. 2009-04-03 20:28:23 +00:00
xmlutils.py Eliminated lots of mutable default arguments (since they are bugs 2006-06-03 13:37:34 +00:00