| Age | Commit message (Collapse) | Author |
|
|
|
Backport of 2bcb8bfc8d from master
|
|
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401.
Backport of 8b5b199 from master
|
|
Backport of 3033a71 from master.
Conflicts:
django/db/backends/__init__.py
|
|
after a user password change in the admin.
Thanks ross at servercode.co.uk for the report.
Backport of 9e7f86b890 from master
|
|
Refs #22496.
Backport of e368912 from master.
|
|
Backport of 843613add4 from master
|
|
closed on Oracle
Refs #22483
Backport of 53d97e4fe3 from master
|
|
Backport of d4cc59ef from master
|
|
Fixed #22483 (again).
Backport of 0f85103e from master
|
|
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.
Backport of 0aa4c6c3 from master
|
|
Backport of e74d2183 from master
|
|
Refs #18714. Same logic as options for makemessages commands.
Backport of 3a435a057 from master.
|
|
cache.add() incorrectly succeeded when there was an existing key
with an infinite (None) timeout.
Backport of af5f688392 from master.
|
|
functools.partial.
Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054.
Thanks rcoup for the report.
Backport of 3c06b2f2a3 from master
|
|
Refs #22451.
Backport of 2ffa6ca73a from master.
|
|
Backport of 48c4ea414 from master.
|
|
Backport of ab90c4707b from master.
|
|
Refs #22481.
Backport of 2f9d1576e from master, squashed with 2f9d1576e8.
|
|
Refs #22451.
Backport of fb09a489c from master.
|
|
As part of the app-loading updates the old test runner was changed to not
require a models module. This introduced a regression in behavior so
applabel.TestCase failed for tests defined in a directory.
The fix is thanks to yakky and rtnpro.
|
|
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.
Backport of f286721f7fdc2202f77a5f4d650d9d0779b86811 from master.
|
|
|
|
typecasting.
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
|
|
This is a security fix. Disclosure will follow shortly.
Backport of c083e3815aec23b99833da710eea574e6f2e8566 from master
|
|
Thanks Benjamin Bach for the report and initial patch.
This is a security fix; disclosure to follow shortly.
Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
|
|
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
|
|
flake8 catches
Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
|
|
Backport of 79f05616fbf48cf7c205ef17666af0c3d47b3c1e from master
|
|
Backport of 471fb04a30 from master
|
|
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.
Backport of 956bd64424 from master
|
|
Binary mode added in ed532a6a1e is not supported by ZipFile.
Refs #22399.
Backport of 275811a93 from master.
|
|
This might help on systems where default encoding is not UTF-8 (and
on Python 3).
Thanks bacilla for the report.
Backport of ed532a6a1 from master.
|
|
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.
Backport of 214d1e1b0f from master
|
|
Thanks Loic for the report.
Backport of 11e30b684d from master
|
|
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.
Backport of c082f3c74c from master.
|
|
Thanks maciej.pawlisz for the report, and charettes for the review.
Backport of a13df671a5 from master
|
|
field.
Backport of 0e45669fa9 from master
|
|
Thanks to @treyhunner and Loïc for their suggestions and review.
Backport of 72d3889db4 from master
|
|
reverse FK.
Regression introduced by commit 9777442. Refs #21410.
Backport of d3b71b976d from master
|
|
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
Backport of 3417ba0309 from master.
|
|
unittest.TestCase ones
Thanks aptiko for the report and Tim Graham for the review.
Backport of 3e3a7372f5 from master.
|
|
Backport of 476db08 from master
|
|
Backport of ee837b9a from master
|
|
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.
Backport of 81761508 from master
|
|
Refs #15802 -- Reverted #7c657b24 as BaseDatabaseWrapper.close() now
has a proper "finally" clause that may need to preserve self.connection.
Backport of 25860096 from master.
|
|
Refs #21202.
Backport of 3becac84 from master
|
|
Thanks err for the report.
Backport of 58161e4e from master.
|
|
Python 2 getpass on Windows does not accept unicode, even
when containing on ASCII characters. Related #190807.
Backport of b5a9166f7e from master
|
|
Thanks Elvard for the patch.
Backport of 395d75ea6b from master
|