| Age | Commit message (Collapse) | Author |
|
This is a security fix.
|
|
disabled fields.
Backport of 04564eb74d2d92eaf88b22ab8cec7ef45978111e from master
|
|
Backport of 19d1cb14519186902d7e27813bf2643fe3f7cfa3 from master
|
|
database/library differences.
Backport of 5aa53286758fbb1fb864a5efda38718a2ca96759 from master
|
|
Backport of 5453aa66cfdf228f40dc1997d811ca986de405a3 from master
|
|
Thanks Bernd Schlapsi for the report.
Backport of 54236a2c1c from master.
|
|
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4.
Backport of 13023ba86746980aace2341ba32a9419e7567751 from master
|
|
Prior to 55f12f8709, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.
Backport of cfda1fa3f8d95f0f4a369da9021dbd770e5fa44a from master
|
|
Backport of 477274acb46b2f07666e9f84dea2e65ea6b63ad3 from master
|
|
disabled apps.
This was causing an issue when calling the `migrate` command in a test case with
the `available_apps` attribute pointing to an application with migrations
disabled using the `MIGRATION_MODULES` setting.
Thanks to Tim Graham for the review.
Refs #24919
Backport of 4dcaa5871b70859952c6f9c437dfe1b5f10509f2 from master
|
|
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.
We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.
Backport of abc0777b63057e2ff97eee2ff184356051e14c47 from master
|
|
Backport of 4c912d184d5ba2ae7355fd8dacb70a0366b8f23b from master
|
|
AUTOINCREMENT is dropped converting an AutoField to IntegerField
which isn't the point of this test. MySQL would warn or error about
this.
Backport of b49cc8664306f8b44e9e12ebb9e43791d508ec74 from master
|
|
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.
Backport of 77974a684a2e874bccd8bd9e0939ddcb367a8ed2 from master
|
|
ModelAdmin.readonly_fields.
Backport of 9a33d3d76497d9e198de942ee1236c452231262f from master
|
|
Backport of fb4272f0e6bbdaa3e19ed5fde59fdb5ab5a33baf from master
|
|
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.
Backport of f91b5a7e4b from master
|
|
through model.
Backport of ee596888e1149864e7828f5cf63c0eda395744c3 from master
|
|
(settings.USE_X_FORWARDED_PORT=True).
Backport of 2d28144c9519f4e4397c70f045c2b1d31437bf69 from master
|
|
Forwardport of 5b3c66d8b64add684489f5010e43de73e7acdd04 from stable/1.8.x
|
|
Backport of b34ff66e5bae3760273255fa5b2525eb21a5eb63 from master
|
|
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input
and Tim for the review.
Backport of bc7d201bdbaeac14a49f51a9ef292d6312b4c45e from master
|
|
admin popup.
Follow up to refs #25997 but this case wasn't broken.
Backport of 5052f79df45d843d1e44dcc47152ed503220098f from master
|
|
Char/TextField with unique=True and db_index=True.
Thanks Simon Charette for review.
Backport of 56aaae58a746eb39d5e92ba60f59f4c750a8e1a8 from master
|
|
Backport of 54d3ba84066301b9cdbbd657620c0f1e5c2422c0 from master
|
|
model popup.
|
|
language code
Thanks Jens Lundstrom for the report and Tim Graham for the review.
Backport of 632a9f21bc from master.
|
|
page.
Backport of 7cc2efc2d6916c05a0a5cb0c0e67f5405d8f6a03 from master
|
|
Refs 1014ba026e879e56e0f265a8d9f54e6f39843348
Backport of 2765adc8dcbaa41662af9000c4de2820418bf0a2 from master
|
|
support.
Backport of 186b6c61bfe85afa4d6bf213d04a28dd2853fed2 from master
|
|
Backport of 2c6c873e3fca6c0c54c2335e131f7742fcf2cf26 from master
|
|
annotate().
Backport of 3eba9638ee69138c73efb1d1c1d1b806ddafc6cf from master
|
|
Backport of 0db6367fe2aa6ab3fd152eacf172d57db45c1ffb from master
|
|
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
|
|
Backport of 89616f0c790376867ba31ada27554f40bfeb228e from master
|
|
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.
To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.
The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.
Backport of ee9f4686b19e2b4a68f5cb4f9d61dc045c1d4c63 from master
|
|
FormMixin.get_context_data().
Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not
be called unnecessarily, specifically in the case where FormMixin.form_invalid()
calls get_context_data() with the current form.
Backport of e429c5186ceed81c4627165518e0c70c58e69595 from master
|
|
SingleObjectMixin.get_context_object_name().
Backport of 4b2dcfe04f5d9938e40c569ffdd169f3a712145d from master
|
|
fields.
Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
|
|
Backport of 300de968d680eea10daa00132f60b7db47abfe1d from master
|
|
This test sometimes fail because the checked integers can appear in the
output as memory addresses due to #24316.
|
|
|
|
Backport of 692d05589061a593d4bfbdb2895eaef0386eca34 from master
|
|
deprecation warning.
Backport of a856555df2a1b4ddad8bf21243de0bcbcc12fb20 from master
|
|
ForeignObject.
Backport of 8b6974a6857bdc48ad50bf21527b840c27648891 from master
|
|
test_ForeignKey_using_to_field
Backport of 5081adcb9004f2c726dcfd054f7f16c5fd39d391 from master
|
|
in tests.
Backport of edf3b88f1ad8f6e900fb3273cc8a573d3d77ce16 from master
|
|
Backport of f18b08748abaecb171fdcbcdfdcd7e4d95d931d1 from master
|
|
many-to-many tables.
Backport of fa9ce4e9a691e4f8c8b093784bac752e488dc60b from master
|
|
This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
Backport of cd3c042b0 from master.
|