Peter Sagerson
42001e027c
[1.7.x] Fixes a race condition in the documentation.
...
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
2014-11-16 14:33:14 +01:00
Andreas Madsack
7796f62c36
[1.7.x] Fixed #23808 -- Documented that migrations table is created when using runserver without migrating first.
...
Backport of 27c9b3a27d313e75732c1e8e966b320ddbde499d from master
2014-11-15 20:06:13 +01:00
Berker Peksag
3c2507c386
[1.7.x] Fixed #23665 -- Noted precedence of settings.USE_L10N in MONTH_DAY_FORMAT and YEAR_MONTH.
...
Backport of 4f90c99635149fae2f488c03f0b52303fe97e0aa from master
2014-11-15 09:55:31 +01:00
Tim Graham
1a73d6394e
[1.7.x] Added missing docs for 1_7.W001 check.
...
Backport of 098368d82f67715723b5bd4445a8fe92a0ceae98 from master
2014-11-13 20:09:51 +01:00
Claude Paroz
99ae86d1d4
[1.7.x] Updated Fink doc section to be version-agnostic
...
Backport of 7fd1f3a645f from master.
2014-11-13 14:35:57 +01:00
Tim Graham
3e0d7de8a6
[1.7.x] Fixed #23774 -- Clarified QuerySet.order_by() and related models.
...
Backport of 11b7680d0e from master
2014-11-12 22:01:07 +01:00
Loic Bistuer
0e03d4618b
[1.7.x] Removed confusing paragraph from the docs.
...
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
2014-11-05 16:06:20 +07:00
Tim Graham
e7ec0af6fc
[1.7.x] Fixed links to mysqlclient in database notes.
...
Backport of e0685368c6 from master
2014-11-04 07:36:18 -05:00
Berker Peksag
c3b101fae5
[1.7.x] Fixed versionchanged indentation in docs/.
...
Backport of 5c517ec218 from master
2014-11-03 21:43:21 -05:00
Claude Paroz
378f94e39e
[1.7.x] Confirmed Spatialite 4 support
...
Backport of e62dea9ad5 from master
2014-11-03 10:51:23 -05:00
Tim Graham
e876c7f1ee
[1.7.x] Fixed #23732 -- Corrected and enhanced select_related() docs.
...
Thanks Daniele Procida for the report and review.
Backport of e958c760f9 from master
2014-10-31 15:40:34 -04:00
Tim Graham
f2de562235
[1.7.x] Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
...
Thanks Aymeric Augustin for the report.
Backport of e7cb4f2fba from master
2014-10-30 18:44:51 -04:00
Tim Graham
01119c9c0f
[1.7.x] Fixed #23737 -- Recommended the render() shortcut more strongly.
...
Thanks Aymeric Augustin for the report.
Backport of f85fcc75e3 from master
2014-10-30 18:35:15 -04:00
Zan Anderle
30bd586a1c
[1.7.x] Explained why admindocs omits model methods with arguments.
...
Backport of 9e3aaa5a46 from master
2014-10-30 18:19:48 -04:00
Aymeric Augustin
aca514b7c4
[1.7.x] Removed extra period.
...
Backport of 8f79c15 from master
2014-10-30 20:50:00 +01:00
David Hoffman
d9bb7128fe
[1.7.x] Fixed #23558 -- documented slugify limitations
...
Backport of 03467368db from master
2014-10-30 09:08:01 -04:00
Berker Peksag
cb952099f4
[1.7.x] Fixed #23575 -- Added a code example for custom AdminSite.
...
Backport of 4a9b4a23bd from master
2014-10-30 08:51:39 -04:00
Raul Cumplido
9d1c5088bd
[1.7.x] Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs.
...
Backport of 68d3db8a7b from master
2014-10-30 08:30:06 -04:00
P.A. SCHEMBRI
92628cc982
[1.7.x] Added cross reference in admin docs to topic about saving objects in formsets.
...
Backport of 388c6038fd from master
2014-10-29 13:39:18 -04:00
Oliver Meinusch
9766ed6a0e
[1.7.x] Fixed QuerySet datetimes argument name in docs.
...
Backport of 6b39401baf from master
2014-10-27 19:49:50 -04:00
Claude Paroz
b42930e4b7
[1.7.x] Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
...
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.
2014-10-27 09:17:31 +01:00
James Doherty
69b5428c12
[1.7.x] Fixed typo in docs/ref/request-response.txt
...
Backport of adf8fb34ce from master
2014-10-24 07:49:47 -04:00
wrwrwr
a2ebbf8916
[1.7.x] Fixed a typo in urlencode documentation.
...
Backport of 62a53bdf11 from master
2014-10-19 19:20:28 -04:00
Jon Dufresne
37ab955d69
[1.7.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to max length
...
Backport of c1b9f99a81 from master
2014-10-18 06:56:12 -04:00
Tim Graham
a1a54b00d2
[1.7.x] Fixed #23667 -- Incorrect settings reference for language cookie.
...
Thanks jamesbeith for the report.
Backport of bedd439297 from master
2014-10-16 19:42:05 -04:00
Rigel Di Scala
e8262b5941
[1.7.x] Fixed #23615 -- Validate that a Model instance's "check" attribute 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
2014-10-17 00:36:43 +07:00
mcgeeco
b729ef0bda
[1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.
...
Thanks Daniele Procida for suggested wording.
Backport of 80b8d3bee0 from master
2014-10-16 10:54:35 -04:00
Dori
d2a2af67f7
[1.7.x] Fixed #23639 -- Fixed doc error in RegexValidator.regex
...
Thanks to @claudep for the report and the original patch.
Backport of c48a29a02a457cfdb1cff11009401459ba24e870 from master.
2014-10-12 13:02:27 +01:00
Tim Graham
625480cf08
[1.7.x] Fixed #23631 -- Removed outdated note on MySQL timezone support.
...
Thanks marfire for the report.
Backport of 9db3653670 from master
2014-10-10 15:22:36 -04:00
Markus Holtermann
71988ed953
[1.7.x] Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL 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
2014-10-09 22:41:27 +07:00
Tim Graham
dbd52f339c
[1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
...
Thanks Rolandde for the report.
Backport of 87eedfff44 from master
2014-10-06 17:46:26 -04:00
Carl Meyer
b3569b3a82
[1.7.X] Fixed #23602 -- Add comment on get_absolute_url regarding user input
...
Backport of 04bd84786d39b8a17620dfb3b354599d8d95417b from master.
2014-10-06 11:30:33 -06:00
Kostochko Dmitriy
2999bf055a
[1.7.x] Updated links in admin docs to use :ref:
...
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
2014-10-06 10:46:43 -04:00
Ismail Badawi
e9609fb7a1
[1.7.x] Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
...
Backport of e501d4c505 from master
2014-10-06 08:24:07 -04:00
Erik Romijn
d2f01afed0
[1.7.x] Made minor typographic correction to SECRET_KEY docs.
...
Backport of 2bb00b0b0b5232aff806c8a9b3f1126c1cf79221 from master.
2014-10-04 10:34:50 +02:00
Erik Romijn
ab8afafcc0
[1.7.x] Fixed #22310 -- Documented exact usage of SECRET_KEY
...
Backport of 4ad57bbe31bc1813264824111de2f9f74dbda0d6 from master.
2014-10-04 09:25:11 +02:00
jnothman
b21ec1ab6e
[1.7.x] Added flat=False to signature of QuerySet.values_list()
...
Backport of 20f868bc5a from master
2014-10-01 13:10:14 -04:00
Duane Hilton
f0e7a695f5
[1.7.x] Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
Backport of 054bdfeff1 from master
2014-09-29 18:17:13 -04:00
Tim Graham
02aa3e30e9
[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.
...
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24 14:49:46 -04:00
Markus Holtermann
5356183716
[1.7.x] Fixed #22959 -- Documented that class-based validators need to be deconstructible.
...
Backport of c692e37b63 from master
2014-09-24 14:33:57 -04:00
Tim Graham
40e5eb4114
[1.7.x] Corrected --noinput docs for makemigrations; refs #23407 .
...
Backport of 450a616004 from master
2014-09-24 13:30:23 -04:00
Markus Holtermann
ae14c75014
[1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
...
Backport of b9a670b227 from master
2014-09-24 07:21:50 -04:00
Joseph Dougherty
722516536e
[1.7.x] Fixed #23499 -- Error in built-in template tag "now" documentation
...
Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master.
2014-09-17 09:23:20 +02:00
Tim Graham
a8ded528b3
[1.7.x] Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
...
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.
Backport of c32bc1a7a7 from master
2014-09-09 11:07:41 -04:00
Collin Anderson
d19291e9ad
[1.7.x] Fixed #23340 -- Corrected naturaltime docs to match behavior.
...
Thanks zachborboa for the report and blackguest for the patch.
Backport of 7353e26d5d and 0a2bc6e6bd from master
2014-09-06 08:00:29 -04:00
Andrew Godwin
ffa9e60638
[1.7.x] Fixed #22534 : Reinforce swappable documentation
2014-09-05 11:41:22 -07:00
Sébastien Fievet
994294e0da
[1.7.x] Added missing periods in docs/ref/checks.txt.
...
Backport of 5d04433903 from master
2014-09-05 12:31:10 -04:00
John-Scott Atlakson
368e5cea58
[1.7.x] Fixed imports in Sitemap for static views
example
...
Backport of 344f37718b from master
2014-09-05 07:11:12 -04:00
Tim Graham
676db20824
[1.7.x] Fixed typo in docs/ref/checks.txt.
...
Backport of 2ca244aae6 from master
2014-09-04 12:32:52 -04:00
Thomas Chaumeny
0bc67a16d3
[1.7.x] Fixed documentation links to Query Expression API.
...
Backport of d7a9659110 from master
2014-09-04 09:45:35 -04:00