| Age | Commit message (Collapse) | Author |
|
uploaded files.
Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.
Backport of d4d800ca1addc4141e03c5440a849bb64d1582cd from main.
|
|
This patch allows upload handlers to handle interrupted uploads.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
when StopUpload is raised.
|
|
|
|
|
|
|
|
* assertIsNone()/assertIsNotNone() instead of comparing to None.
* assertLess() for < comparisons.
* assertIs() for 'is' expressions.
* assertIsInstance() for isinstance() expressions.
* rounding of assertAlmostEqual() for round() expressions.
* assertIs(..., True/False) instead of comparing to True/False.
* assertIs()/assertIsNot() for ==/!= comparisons.
* assertNotEqual() for == comparisons.
* assertTrue()/assertFalse() instead of comparing to True/False.
|
|
|
|
|
|
|
|
exist_ok=True).
|
|
Used more specific errors (e.g. FileExistsError) as appropriate.
|
|
|
|
|
|
|
|
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
|
|
|