django1/django/utils
Paul McMillan 239e41f7c5 Cleanup to use get_random_string consistently.
Removes several ad hoc implementations of get_random_string()
and removes an innapropriate use of settings.SECRET_KEY.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-23 21:39:12 +00:00
..
simplejson Fixed #17071 -- Made sure we report the right version of system-level {simple,}json module. 2011-10-20 17:21:10 +00:00
translation Fixed #17720 -- Stopped the LocaleMiddleware from overeagerly using the request path for language activation if it's actually not wanted. Thanks to Anssi Kääriäinen for the initial patch. 2012-02-18 13:37:30 +00:00
unittest Fixed #15828 -- Removed explicit implementation of empty setUp / tearDown methods. Backport of http://hg.python.org/unittest2/rev/3d33f92496fa. 2012-01-27 22:25:44 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Fixed a missing exception (`WindowsError`) when using the rmtree error handler on non-Windows systems. 2011-12-22 22:38:10 +00:00
archive.py Fixed a few tests to run on Python 2.5. Thanks, Florian Apolloner. 2011-12-25 12:47:13 +00:00
autoreload.py Fixed #10725 -- When the child process spawned by the autoreloader gets killed by a signal, passed the signal to the parent, in order to make debugging easier. 2011-12-30 14:12:31 +00:00
baseconv.py Switch to using explicit new-style division behavior, rather than relying on teh classic behavior. 2011-09-09 21:45:58 +00:00
cache.py Fixed #17476 -- Ensure timezone-dependant cache keys only use ASCII characters, especially on Windows. 2011-12-29 13:57:32 +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 Cleanup to use get_random_string consistently. 2012-02-23 21:39:12 +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 #17634 -- Optimized the performance of MultiValueDict by using append instead of copy and by minimizing the number of dict lookups. Refs #736. 2012-02-09 18:41:20 +00:00
dateformat.py Updated a few localization formats to stop the changes done in r17473 from breaking the tests. 2012-02-10 01:13:29 +00:00
dateparse.py Negligible spacing cleanup in utils/dateparse.py 2011-12-17 02:31:34 +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 Change some string literals to be unicode, because: 2011-10-11 17:36:05 +00:00
feedgenerator.py Fixed #15237 (again). RSS feeds now include proper character encoding in the mimetype. Thanks shadow for the report and Michal Rzechonek for the patch. 2012-02-10 23:45:22 +00:00
formats.py Fixed 16938 -- Ensured that the active locale's formats take precedence over the default settings even if they would be interpreted as False in a conditional test (e.g. 0 or empty string). Thanks to pikerr for the report and initial patch. 2011-10-20 12:14:06 +00:00
functional.py Try to save memory and time when using lazy objects by refering to their function via the closure, and not making it an attribute on each instance. 2012-01-08 19:16:33 +00:00
hashcompat.py Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch. 2011-06-09 20:01:28 +00:00
html.py Fixed #17592 -- Handle URLs starting with a dot when using urlize. Thanks, Claude Paroz. 2012-02-04 16:05:48 +00:00
htmlparser.py Fixed #17641 -- Work around an issue in Python distributions that remove the module attribute ('2.7.2+'). Many thanks to Ramiro Morales for finding it. 2012-02-05 10:29:08 +00:00
http.py Use Python's changed comparisons, which makes this a bit more readable. 2012-02-16 01:10:21 +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
ipv6.py Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks to Erik Romijn. 2011-06-11 13:48:24 +00:00
itercompat.py Remove the usage of deprecated function in Django. Also simplify the fallback code. 2011-10-14 00:20:50 +00:00
jslex.py Fixed #16971 - Made the parsing of javascript files by 'makemessages' much faster. Thanks Antti Haapala for the implementation and Ned Batchelder for the patch. 2011-10-04 20:11:41 +00:00
log.py Fixed AdminEmailHandler to format the subject message correctly when arguments are passed. 2012-02-12 12:19:02 +00:00
module_loading.py Fixed #15525 -- Custom template tags loading breaks whenever templatetags is a python file 2011-08-28 02:37:16 +00:00
numberformat.py Fixed #17414 -- Prevented numberformat from trying to group digits when the number of digits per group is zero. 2011-12-24 11:01:57 +00:00
regex_helper.py Fixed #17492 -- Allow reversal of named backreferences. Thanks nate_b 2012-01-03 22:49:13 +00:00
safestring.py Fixed #6071 -- Fixed another infinite recursion problem in SafeString and 2007-12-02 20:17:10 +00:00
synch.py Clean up the the locmem cache backend and utils.synch by using context managers. Puch prettier. 2011-11-27 04:28:31 +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 #10931 -- Made `Truncator` handle newlines properly. Thanks to gsong and Claude Paroz. 2012-01-02 18:47:18 +00:00
timesince.py Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00
timezone.py Fixed a stupid bug in the implementation of timezone.make_aware. 2012-01-02 20:45:09 +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 Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00
version.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
xmlutils.py Eliminated lots of mutable default arguments (since they are bugs 2006-06-03 13:37:34 +00:00