| Age | Commit message (Collapse) | Author |
|
Creating a new cluster is neither required not recommendable for
most users. The previous section explains how to create a user
with sufficient permissions to automatically create a database
during tests.
|
|
Refs #23641.
Backport of d66bda60590daabe21f60a532a613a31a10fedbd from master
|
|
Backport of cc870b8ef5e3464c6f051e3ef0a25dfc4b597452 from master
|
|
#23754.
Backport of e0d1f2684ae60573b209783f9fd4f9db163ad704 from master
|
|
Backport of c1552af1fe5832011e3b1c3e5b40c20ff3dbe6f9 from master
|
|
Backport of b0a58b9085b from master.
|
|
Model.clean()
Also added a unit test wit the simpler syntax which we have documented,
where the dictionary values are strings.
Backport of 5b26a014a81ba0d404d46e11d2b45c01d92b97e5 from master
|
|
Backport of 38ab0f13fac428dd05dad02ef7c94da5035927ad from master
|
|
Removed inaccurate info about partial evaluation after refs #18702.
Added information on modifying sliced QuerySets; refs #22503.
Backport of 327df551e89a505c5756becee97c40198f38aff2 from master
|
|
migrating backwards.
Backport of ab2819aa7b09d36d9ff24830a9825aa52b87fdb4 from master.
|
|
The example for django.contrib.admin.ModelAdmin.get_form modifies
self.exclude. However, since ModelAdmin instances are global and have no
thread- or request-locality, this is not safe for concurrent
requests.[1] This updated documentation demonstrates a safe method to
override admin forms on a per-request basis.
[1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
Backport of 0d1a9d203a970a82a2f81edf0ba7d4b55442fd78 from master
|
|
using runserver without migrating first.
Backport of 27c9b3a27d313e75732c1e8e966b320ddbde499d from master
|
|
MONTH_DAY_FORMAT and YEAR_MONTH.
Backport of 4f90c99635149fae2f488c03f0b52303fe97e0aa from master
|
|
Backport of 098368d82f67715723b5bd4445a8fe92a0ceae98 from master
|
|
Backport of 7fd1f3a645f from master.
|
|
Backport of 11b7680d0e from master
|
|
This snippet wasn't particularly helpful as `add_error()` is described
in greater details in the following section.
Thanks Claude Paroz for the report.
Backport of f1f0c4f16b from master
|
|
Backport of e0685368c6 from master
|
|
Backport of 5c517ec218 from master
|
|
Backport of e62dea9ad5 from master
|
|
Thanks Daniele Procida for the report and review.
Backport of e958c760f9 from master
|
|
silent_variable_failure uses.
Thanks Aymeric Augustin for the report.
Backport of e7cb4f2fba from master
|
|
Thanks Aymeric Augustin for the report.
Backport of f85fcc75e3 from master
|
|
Backport of 9e3aaa5a46 from master
|
|
Backport of 8f79c15 from master
|
|
Backport of 03467368db from master
|
|
Backport of 4a9b4a23bd from master
|
|
Backport of 68d3db8a7b from master
|
|
formsets.
Backport of 388c6038fd from master
|
|
Backport of 6b39401baf from master
|
|
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
Backport of 7f089ac2e3 from master.
|
|
Backport of adf8fb34ce from master
|
|
Backport of 62a53bdf11 from master
|
|
max length
Backport of c1b9f99a81 from master
|
|
Thanks jamesbeith for the report.
Backport of bedd439297 from master
|
|
is a method.
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.
This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".
Conflicts:
docs/ref/checks.txt
Backport of a5c77417a6 from master
|
|
includes.
Thanks Daniele Procida for suggested wording.
Backport of 80b8d3bee0 from master
|
|
Thanks to @claudep for the report and the original patch.
Backport of c48a29a02a457cfdb1cff11009401459ba24e870 from master.
|
|
Thanks marfire for the report.
Backport of 9db3653670 from master
|
|
column into a NOT NULL one due to existing rows
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
Backport of f633ba778d from master
|
|
Thanks Rolandde for the report.
Backport of 87eedfff44 from master
|
|
Backport of 04bd84786d39b8a17620dfb3b354599d8d95417b from master.
|
|
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.
Backport of 13409b932a from master
|
|
{Single,Multiple}ObjectMixin.model uses.
Backport of e501d4c505 from master
|
|
Backport of 2bb00b0b0b5232aff806c8a9b3f1126c1cf79221 from master.
|
|
Backport of 4ad57bbe31bc1813264824111de2f9f74dbda0d6 from master.
|
|
Backport of 20f868bc5a from master
|
|
Thanks oinopion for the suggestion and jarus for the initial patch.
Backport of 054bdfeff1 from master
|
|
Thanks gkoller for the report and Markus Holtermann for review.
|
|
deconstructible.
Backport of c692e37b63 from master
|