Commit Graph

2364 Commits

Author SHA1 Message Date
Tim Graham da562d6a87 [1.7.x] Fixed #23961 -- Clarified when makemigrations will create a directory.
Backport of fa6e3a40e1 from master
2014-12-09 07:31:33 -05:00
Tim Graham 6022da4f48 [1.7.x] Fixed #23974 -- Clarified wording of FileField.save/delete save parameter.
Thanks GreenAsJade.

Backport of 1aa41dd000 from master
2014-12-08 13:18:23 -05:00
Jon Dufresne 4862eb6e5b [1.7.x] Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets
Backport of 4d27d72d14 from master
2014-12-08 12:58:26 -05:00
Tim Graham 284496e692 [1.7.x] Fixed #23965 -- Mentioned that FieldFile inherits from File
Backport of 5281d9620d from master
2014-12-06 11:52:22 -05:00
Peter Inglesby 00018642c9 [1.7.x] Fixed typo in docs/ref/applications.txt.
Backport of 0fde2ca036 from master
2014-12-06 09:23:37 -05:00
Claude Paroz 01e117abf0 [1.7.x] Fixed documentation of GeoModelAdmin.openlayers_url
Backport of e3091350 from master.
2014-12-06 12:47:42 +01:00
Tim Graham 6a94c97729 [1.7.x] Corrected example in Form.has_changed() docs.
Backport of ebfadb8080 from master
2014-12-05 13:17:36 -05:00
Theodoros Ikonomou 82c0c7b34f [1.7.x] Fixed typo in docs/ref/request-response.txt.
Backport of 49d034fff2 from master
2014-12-03 18:44:06 -05:00
Claude Paroz 25e0329fbe [1.7.x] Removed instructions to create a PostgreSQL cluster in GIS docs
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.
2014-11-29 11:22:08 +01:00
wrwrwr 3ac39bb63d [1.7.x] Added notes on registering signals in ready() and using dispatch_uid.
Refs #23641.

Backport of d66bda6059 from master
2014-11-27 11:23:43 -05:00
Kenial Lee 5f79da5814 [1.7.x] Fixed #23901 -- Documented how to use SpatiaLite with Homebrew.
Backport of cc870b8ef5 from master
2014-11-26 14:05:21 -05:00
Simon Charette f46ebc680b [1.7.x] Added warning about get_inline_instances() permission checking; refs #23754.
Backport of e0d1f2684a from master
2014-11-25 13:15:02 -05:00
Richard Olsson 3350531ceb [1.7.x] Fixed typo in docs/ref/django-admin.txt
Backport of c1552af1fe from master
2014-11-25 07:51:58 -05:00
Claude Paroz 4592059484 [1.7.x] Updated an old note about GEOSGeometry.transform
Backport of b0a58b9085 from master.
2014-11-22 13:26:49 +01:00
Alasdair Nicol f91c6ecc22 [1.7.x] Fixed #23865 -- documented how to assign errors to a field in Model.clean()
Also added a unit test wit the simpler syntax which we have documented,
where the dictionary values are strings.

Backport of 5b26a014a8 from master
2014-11-21 13:02:40 -05:00
Alasdair Nicol 2e2607870d [1.7.x] Added missing backticks to form validation docs
Backport of 38ab0f13fa from master
2014-11-20 11:09:57 -05:00
Michal Petrucha 593353d8af [1.7.x] Fixed #23817 -- Updated docs on QuerySet evaluation
Removed inaccurate info about partial evaluation after refs #18702.
Added information on modifying sliced QuerySets; refs #22503.

Backport of 327df551e8 from master
2014-11-20 09:35:29 -05:00
Carl Meyer 03e8c18288 [1.7.x] Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
Backport of ab2819aa7b from master.
2014-11-19 16:15:05 -07:00
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 0d1a9d203a 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 27c9b3a27d 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 4f90c99635 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 098368d82f 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 7fd1f3a645 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 c48a29a02a 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 04bd84786d from master.
2014-10-06 11:30:33 -06:00