| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp()
to create and destroy a temporary directory for each test. It removes
the need for individual tests to delete files.
For test classes that don't use the temporary directory, inherit from
SimpleTestCase.
|
|
Thanks Mariusz Felisiak for auditing.
|
|
|
|
|
|
Follow up to 081e78716085ff4af08604af5d084c8fd27c0730.
|
|
* Added logging of 500 responses for instantiated responses.
* Added logging of all 4xx and 5xx responses.
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
|
|
Allowed ServerFormatter to handle simple string messages or messages with
formatting arguments. The formatter will set the server_time variable on
the log record if it's required by the format string but wasn't passed in
extra parameters.
|
|
|
|
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
|
|
Refs #26572, #17281. The RFC doesn't limit total length, just the line length
which is already taken care of by Python itself.
Thanks Tim Graham for the review.
|
|
the 404.
For example, this avoids a warning in the case of a request that's
redirected to a language-prefixed URL by LocaleMiddleware.
|
|
|
|
|
|
|
|
Thanks Akshesh Doshi for the initial patch and Tim Graham for the review
|
|
default.
|
|
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
|
|
|
|
|
|
|
|
Thanks Carl Meyer for review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
in request.
Thanks edevil for the report and Simon Charette for review.
|
|
|
|
|
|
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
|
|
Refs #20083.
|
|
Refs #21188. Now pure Python DeprecationWarning visibility should
be back to Python defaults.
|
|
|