| Age | Commit message (Collapse) | Author |
|
Refs #22483
|
|
Fixed #22483 (again).
Forwardport of 5cd6429620 from stable/1.7.x
|
|
Forwardport of 9bbb43dd1a from stable/1.7.x
|
|
- Fixed bug in get_callable() that caused resolve() to put a string
in ResolverMatch.func.
- Made ResolverMatch.url_name match the actual url name (or None).
- Updated tests that used the string value in ResolverMatch.func, and
added regression tests for this bug.
- Corrected test urls whose dummy view paths caused failures (behavior
that was previously masked by this bug).
|
|
Since all state is maintained on the connection at this time and none in
the atomic, it doesn't matter, but it could introduce some subtle bugs
if the implementation changed in the future.
|
|
|
|
Refs #18714. Same logic as options for makemessages commands.
|
|
cache.add() incorrectly succeeded when there was an existing key
with an infinite (None) timeout.
|
|
Refs #22451.
|
|
|
|
functools.partial.
Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054.
Thanks rcoup for the report.
|
|
|
|
Forward ported code from 1.5 that adds backwards compatibility with legacy message length.
See commit 9e7183073f64e541587e8dcfd8bb3ddeb47f8162 for details.
Thanks to Ofir Ovadia for the initial patch.
|
|
This is a security fix; disclosure to follow shortly.
|
|
This is a security fix. Disclosure will follow shortly.
|
|
Thanks Benjamin Bach for the report and initial patch.
This is a security fix; disclosure to follow shortly.
|
|
|
|
Fixed bad code introduced in 2f9d1576e8.
|
|
Refs #22481.
|
|
Refs #22451.
|
|
This is useful for tests manually calling migrate inside a testcase,
for normal usage this should make no difference, since there is no
surrounding transaction after all. If there is one we still try to
leave the transaction in a useable state (for postgres at least).
If this commit turns out to be causing issues, settings savepoint=False
is probably the right fix :)
|
|
|
|
|
|
Changed the migration autodetector to remove models last so that FK
and M2M fields will not be left as dangling references. Added a check
in the migration state renderer to error out in the presence of
dangling references instead of leaving them as strings. Fixed a bug
in the sqlite backend to handle the deletion of M2M fields with
"through" models properly (i.e., do nothing successfully).
Thanks to melinath for report, loic for tests and andrewgodwin and
charettes for assistance with architecture.
|
|
Binary mode added in ed532a6a1e is not supported by ZipFile.
Refs #22399.
|
|
This might help on systems where default encoding is not UTF-8 (and
on Python 3).
Thanks bacilla for the report.
|
|
|
|
This reverts commit 00e3b9a2a992ee0b7288eeeb03e7cbd52ebc6dce.
It's causing a regression when tested with the proxy_model_inheritance tests.
|
|
The warning hint of `_check_test_runner` of 1.6 compatibility had a link
to a general release note. The link should be edited to refer the
relevant "Backwards incompatible changes in 1.6" section that documents
the cause and the possible solutions and workarounds of the warning.
|
|
Thanks Loic for the report.
|
|
Use the stdlib's PBKDF2 implementation when available.
|
|
3857 is now the official EPSG code for the Google spherical mercator
projection and some recent versions of GDAL do not recognize 900913
any longer.
Thanks Tim Graham for the report and initial patch.
|
|
|
|
|
|
This is a bit faster than ours, which is good, because it lets you increase
the iteration counts.
This will be used on Python 3.4+, and, pending the acceptance of PEP466, on
newer Python 2.7s.
|
|
Changed the migration autodetector to remove models last so that FK
and M2M fields will not be left as dangling references. Added a check
in the migration state renderer to error out in the presence of
dangling references instead of leaving them as strings. Fixed a bug
in the sqlite backend to handle the deletion of M2M fields with
"through" models properly (i.e., do nothing successfully).
Thanks to melinath for report, loic for tests and andrewgodwin and
charettes for assistance with architecture.
|
|
in favor of installing sqlparse."
This reverts commit 071c9337750b296d198cced56f3ffad0e176afb6.
This introduced a regression on MySQL and custom SQL is deprecated.
|
|
Thanks maciej.pawlisz for the report, and charettes for the review.
|
|
|
|
|
|
|
|
|
|
Thanks to @treyhunner and Loïc for their suggestions and review.
|
|
Regression introduced by commit 9777442. Refs #21410.
|
|
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
|
|
Thanks aptiko for the reporti and Tim Graham for the review.
|
|
|
|
|
|
Thanks intgr for the report.
This commit doesn't include a test because I don't know how to emulate a
database disconnection in a cross-database compatible way.
Also simplified a 'backends' test that was constrained by this problem.
|
|
Refs #15802 -- Reverted #7c657b24 as BaseDatabaseWrapper.close() now
has a proper "finally" clause that may need to preserve self.connection.
|