| Age | Commit message (Collapse) | Author |
|
paths.
Thanks Rainer Koirikivi for the report and draft patch.
This is a security fix; disclosure to follow shortly.
Backport of 7fe5b656c9 from master
|
|
Backport of 6a6428a36 from master.
|
|
Backport of c687bf0 from master.
|
|
Inputs acceptable to time.mktime are platform-dependent.
Backport of 1a1e1478 from master.
|
|
Thanks void for the report.
Backport of ded11aa6 from master.
|
|
Backport of b7451b72 from master.
|
|
Thanks mitsuhiko for the report.
Backport of 65b6eff3 and adaptation of 8aaca65 from master.
|
|
Thanks mitsuhiko for the report.
Non-ASCII values are supported. Non-ASCII keys still aren't, because the
current parser mangles them. That's another bug.
Simplified backport of 8aaca651 and f5add47 from master.
|
|
It's now forbidden to call queryset.update(field=instance) when instance
hasn't been saved to the database ie. instance.pk is None.
Conflicts:
tests/queries/tests.py
Backport of b4cd8169 from master.
|
|
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.
Backport of 926bc42 from trunk.
|
|
rca/12756-missing-yaml-module-serializer-error-message
Fixed #12756: Improved error message when yaml module is missing.
Backport of 4f5faa1916e7c8cb72cc9ebf1a1fd964ba6e707b from master.
|
|
Fixed #16502 -- Fixed a TemplateDoesNotExist error that should be an ImproperlyConfigured.
Assistance on the patch from #jambronrose.
Backport of 9b2dc12b8332389d1bfb9e83123a088a084a6a47 from master.
|
|
[1.6.x] Fixed #21058 -- Fixed debug view blowing up when no template is provided to the template rendering functions.
Assistance on this commit from @jambonrose.
Backport of 122020fdb93980df850ae02f61d97da27e2cb515 from master.
|
|
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
Backport of 4d13cc56de from master
|
|
Thanks tuxcanfly.
Backport of bab039d74c from master
|
|
Conflicts:
django/db/backends/oracle/base.py
django/db/backends/sqlite3/base.py
django/db/models/base.py
Backport of 365c3e8b from master.
|
|
without subclass restrictions.
Refs #18162. Thanks claudep and mjtamlyn for review.
Backport of 7211741fc5d50425 from master.
|
|
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.
Reviewed by Tim Graham.
Refs #16649
Backport of e973ee6a9879969b8ae05bb7ff681172cc5386a5 from master
Conflicts:
django/db/models/options.py
tests/basic/tests.py
|
|
twice if prepared is False.
Thanks homm for the report and Aramgutang and lrekucki for work on
the patch.
Backport of f19a3669b8 from master
|
|
caused an admin crash.
Thanks chris at cogdon.org for the report and admackin for the patch.
Backport of af953c45cc from master
|
|
Thanks epandurski at gmail.com for the report.
Backport of f4e980456 from master.
|
|
contrib.sessions
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
Backport of b0ce6fe656 from master
|
|
In cases where the same connection (from model A to model B along the
same field) was needed multiple times in a select_related query, the
join setup code mistakenly reused an existing join.
Backpatch of 8d65b6082c8bf5df25608d8733470879a8a61d7d.
Conflicts:
django/db/models/sql/compiler.py
tests/queries/tests.py
|
|
Backport of 6e846f7627ecf0dc15053624a23bfbf47535972d from master.
|
|
Backport of 86f4459f9e from master
|
|
Tests by Tim Graham, report from jeroen.pulles@redslider.net.
Backport of 1ed77e7782 from master
|
|
`classobj` objects cannot be weakly referenced on Python 2.6
|
|
Backport of e55ca60903 from master.
|
|
cascade deletes"
This reverts commit 2b48fcc607010065c0f8107baf669dd41b164f3c.
It introduced a regression (#20777) which we can't easily fix in 1.6.
|
|
does not have a default value
Thanks to Collin Anderson for the suggestion and Tim Graham for
reviewing the patch.
Backport of 22c6497f99 from master
|
|
as template variables.
Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test.
Backport of 71b5617c24 from master.
|
|
Backport of 4e50e4065489f06d72eed8ce2d9ae98639be5a93 from master.
|
|
This is a security fix; disclosure to follow shortly.
|
|
limit_choices_to.
Backport of d53e574676 from master
|
|
Backport of 1c64a0f29e from master
|
|
Also PEP8 + python_2_unicode_compatible cleanup done.
Backport of 263b873599 from master
|
|
Backport of 75c87e2d38 from master
|
|
Thanks Jimmy Song for the patch.
Backport of 7843775 from master.
|
|
Regression introduced by [369b6fa]; refs #18169.
Backport of 1b47508ac8 from master
|
|
bypasses get_fieldsets().
Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin.
Backport of a0ed2f9260 from master
|
|
Thanks croldan for the report.
Backport of 893d8de6f5 from master
|
|
Thanks thibaultj for the report, jenh for the patch,
and charettes for the tests.
Backport of aa830009de from master
|
|
Thanks liangent for the report.
Backport of 3c45fb8589 from master
|
|
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
|
|
Thanks CollinAnderson for the report.
Backport of 8676318d2d from master
|
|
Backport of 2a979d2a7b from master
|
|
It has been possible to use models of wrong type in related field
lookups. For example pigs__in=[a_duck] has worked. Changes to
ForeignObject broke that.
It might be a good idea to restrict the model types usable in lookups.
This should be done intentionally, not accidentally and without any
consideration for deprecation path.
Backpatch of 7cca8d56d28e321ffc395c92f82d97adaa0dcf94 from master.
|
|
Backport of 92476e880c from master
|
|
Thanks Tim Graham for the report.
Backport of 02b0106d from master.
|
|
Thanks Vincent Wagelaar for the report.
Backport of 11b7b9ad from master.
|