1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00
django/django
Paul McMillan 1525874238 Improved get_random_string().
Improved the behavior of get_random_string to re-seed itself each time it is called
if the system does not have a secure random number generator. This will change the
properties of the random string produced, but will be unpredictable to an attacker.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-23 22:51:14 +00:00
..
bin 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
conf Don't let ALLOWED_INCLUDE_ROOTS be accidentally set to a string rather than a tuple. Thanks to Florian Apolloner for pointing this out. 2012-02-22 00:42:19 +00:00
contrib Cleanup to use get_random_string consistently. 2012-02-23 21:39:12 +00:00
core Cleanup to use get_random_string consistently. 2012-02-23 21:39:12 +00:00
db Fixed #17728 -- When filtering an annotation, ensured the values used in the filter are properly converted to their database representation. This bug was particularly visible with timezone-aware DateTimeFields. Thanks gg for the report and Carl for the review. 2012-02-22 19:40:27 +00:00
dispatch 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
forms Made a minor tweak to a doctoring in django/forms.forms.py that was missed in r17452. Thanks to Claude Paroz for the tip. 2012-02-05 08:12:07 +00:00
http Fixed #17277 - Wrap IOErrors raised due to client disconnect in a specific IOError subclass so they can be distinguished from more serious errors. Thanks David Lowe. 2012-02-10 22:51:07 +00:00
middleware 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
shortcuts
template Fixed #17660 -- Standardize extends tag token parsing 2012-02-21 02:59:05 +00:00
templatetags Fixed #17255 -- Removed "as" prefix from new timezone template filter names for the sake of clarity. Cheers to Aymeric Augustin for bearing with me. 2011-11-18 15:00:08 +00:00
test Made a bunch more edits up until [17418] 2012-02-03 20:45:45 +00:00
utils Improved get_random_string(). 2012-02-23 22:51:14 +00:00
views Improved CSRF error message. 2012-02-21 23:54:02 +00:00
__init__.py Bump version numbers for 1.4 beta 1. 2012-02-16 02:12:20 +00:00