| Age | Commit message (Collapse) | Author |
|
Backport of 95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c from master.
|
|
|
|
|
|
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
|
|
|
|
manager.
|
|
equivalents
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
The smart_* version should only be used when a lazy string should keep
its lazy status.
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
|
|
|
|
empty string.
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to Tim Graham for the report.
|
|
|
|
Specifically stopped using the dir argument.
|
|
Dropped the DJANGO_TEST_TEMP_DIR environment variable.
Before this change, proper removal depended on the developer passing
dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
|
|
|
|
|
|
Thanks Tom Christie for the report and review.
|
|
|
|
|
|
comprehension
|
|
|
|
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
|
|
TestCase decorator.
|
|
|
|
This insures the actual base64 content has a length a multiple of 4.
Also added a test case for the failure.
|
|
Thanks homm for the report, Cea Stapleton for patch improvements
and Ian Cordasco, Christian Schmitt and Tim Graham for the review.
|
|
Refs #17215. In the same spirit as 5de31cb8cb.
|
|
This patch is two-fold; first it ensure that Django does close everything in
request.FILES at the end of the request and secondly the storage system should
no longer close any files during save, it's up to the caller to handle that --
or let Django close the files at the end of the request.
|
|
Also removed unused import in runtests.py.
|
|
|
|
|
|
|