| Age | Commit message (Collapse) | Author |
|
Backport of 9a4a9a8a49ed3e38f3038b8d6fc7c405256271f1 from master
|
|
docs.
Backport of fea45eff5a2f2ad10b2788603db80e5a4fe6be06 from master
|
|
Backport of 2b19b3a031e7d5b5264bc9e880d0192301289bc2 from master
|
|
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
|
|
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9 from master
|
|
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
Backport of 1bfcc95 from master
|
|
contrib.postgres).
Backport of 3adc5f1ee6618a615db07d4a868b366a15c39f82 from master
|
|
Backport of 35f0cae19de226d9d7771304fc8dd2619e644998 from master
|
|
Backport of f3bc7c5447a1e4bfa428a7ff32ea3336850c5c2d from master
|
|
Backport of 15b711b from master.
|
|
Thanks Manel Clos for the report.
Backport of 1379165b35 from master.
|
|
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
Backport of 18c0aaa9123579375294fcc4a8ee7e3530176b88 from master
|
|
Backport of 648e516b8d5694c01a225fe27429f0bf7776fb43 from master
|
|
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
Backport of f287bec5833d75750fa6368bc2802741b7924533 from master
|
|
Backport of e2d6e14662d780383e18066a3182155fb5b7747b from master
|
|
Backport of 737b184d914d5cc4a6ed8fe2a1d66ec1b7369f46 from master
|
|
Backport of 7d363ed43247a80d2b764723e1bf6e0e6da4e82f from master
|
|
Backport of 66f5aa9fa5d53ddd7fbdb7ddac39c429f0c1b4fd from master
|
|
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.
Thanks to Marc Tamlyn and Tim Graham for review.
Backport of 8adc59038cdc6ce4f9170e4de2d716d940e136b3 from master
|
|
Backport of 9a391fbd6102176d576aa96ed3aeee9e9661b455 from master
|
|
Backport of 5d193d042a3cc49033f0e8b5125913650d779496 from master
|
|
Specifically in rendering shortcuts, template responses, and class-based
views that return template responses.
Also added a test for render_to_response(status=...) which was missing
from fdbfc980.
Thanks Tim and Carl for the review.
Backport of 2133f31 from master.
Conflicts:
docs/topics/http/shortcuts.txt
tests/generic_views/test_base.py
|
|
Backport of ee23e03637aa8b82311f93b0a660574a0512891a from master
|
|
Backport of 4669b6a807811d6763b9fdc5df974cb67aa1fb56 from master
|
|
Thanks to Keryn Knight for the report.
Backport of dccf41cff0f46a94aa1d853d1bad9052079bb454 from master
|
|
inspectdb
Backport of bd691f4586c8ad45bd059ff9d3621cbf8afdcdce from master
|
|
Backport of ba27f895878bb155fefb8c1b9beee2c9f3d85b3f from master
|
|
|
|
Backport of 1d975ff44bc23efaf0ebf3e96cc35539d80bd244 from master
|
|
#20702.
|
|
Backport of 25264d4e2a4b3fd6a25e6b617388ea24f3d48d63 from master
|
|
This finsishes the work started on #16803.
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
|
|
Thanks Josh Smeaton and Tim Graham for the reviews.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham
for the reviews.
|
|
|
|
A deprecation path is required because the return type of
django.template.loader.get_template changed during the
multiple template engines refactor.
test_csrf_token_in_404 was incorrect: it tested the case when the
hardcoded template was rendered, and that template doesn't depend on the
CSRF token. This commit makes it test the case when a custom template is
rendered.
|
|
|
|
|
|
|
|
Added a --debug-sql option for tests and runtests.py which outputs the
SQL logger for failing tests. When combined with --verbosity=2, it also
outputs the SQL for passing tests.
Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and
discussion.
|
|
|
|
Recommending Template(template_code) was dumb. Described alternatives.
|
|
Accounted for multiple template engines and made a few small fixes.
|