| Age | Commit message (Collapse) | Author |
|
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 a4553e0510 from master
|
|
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
|
|
flake8 catches
Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
|
|
Backport of 3f01e82 from master
|
|
The model_inheritance_same_model_name tests couldn't be run without the
model_inheritance tests. Make the problem go away by merging them.
Thanks timo for the report.
Backport of 0097d38 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
|
|
Backport of 9bc377d7d0 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.
|
|
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.
|
|
Thanks err for the report.
Backport of 58161e4e from master.
|
|
Thanks Elvard for the patch.
Backport of 395d75ea6b from master
|
|
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
|
|
Backport of 5f2f47f from master
|
|
cookies tests
Backport of b9bfcd82f0 from master
|
|
Backport of 7a7f6fccae from master
|
|
objects.
Thanks to linovia for the report.
Backport of 074d3183d9 from master
|
|
The order of admin's changelist filters in the querystring relied on
dict ordering.
Backport of 4d996b8e69 from master
|
|
Thanks to trac username honyczek for the report. Refs #6903.
Backport of 4339e9a92d from master
|
|
internal dependencies.
Backport of 0fd51cf0bd from master
|
|
Backport of a449e7feec from master
|
|
order.
Backport of 69a4f383f6 from master
|
|
Code borrowed from django.contrib.admin.tests. Without this, the class can
throw an exception with something like "The browser appears to have exited
before we could connect. The output was: Error: no display specified"
Backport of e2ac0203d9 from master
|
|
The test throws an error which Python 3.4 doesn't seem to catch as an
expectedFailure.
refs 7476d96f83a004d674244aeb7a66289035427396
Backport of c170c3761b from master
|
|
Backport of c19bbefca2 from master
|
|
This commit reverts 69d4b1c and tackle the issue from a different angle.
Models remain present in the project state, but are now ignored by the
autodetector.
Backport of 42336c84a0daedfd8242333622eefe202e32398e from master
|
|
Thanks to @timgraham for the review.
Backport of 1506c71a95 from master
|
|
unmanaged models."
This reverts commit bf69375c4d2eaec4f00c646b9e7e84a9397d1a20.
|
|
models.
Backport of 69d4b1c3ea from master
|
|
Previously, `ManifestFilesMixin.read_manifest` failed in Python 3
because `json.loads` accepts `str` not `bytes`.
Backport of 86dcac4634 from master
|
|
overrides.
Backport of 16afffffe8 from master
|
|
non-relational field to relational.
Backport of 35ed792cf2 from master
|
|
Fixed this for both implementations of _alter_many_to_many, instead of
in `alter_db_table` itself (more implementations).
Backport of 1edfa155e3 from master
|
|
When content is supposed to contain HTML, we do not try to add
line breaks in read-only contents.
Thanks Alexander Todorov for the report.
Backport of c94bff2 from master.
|
|
Thanks Baptiste Mispelon for the review.
Backport of acee46fc9 from master.
|
|
Backport of 6a0291bdaf from master.
|
|
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82b from master.
|
|
Backport of 35f46ec7a9 from master
|
|
Backport of 4d0c5f61427a8e67552ee2d777fffbadc7aff3b2 from master.
|
|
|