Commit Graph

18359 Commits

Author SHA1 Message Date
Adam DePue 2d12a59938 [1.7.x] Fixed #23761 -- Fixed crash with MySQL validator and db_type is None.
The issue was fixed on master in e9103402c0.
2014-11-13 11:03:01 +01:00
Tim Graham d4bec655ae [1.7.x] Fixed flake8 warning.
Backport of dec7da3c4c from master
2014-11-13 10:08:17 +01:00
Baptiste Mispelon 606c57a132 [1.7.x] Fixed #23795 -- Fixed a regression in custom form fields
Custom form fields having a `queryset` attribute but no
`limit_choices_to` could no longer be used in ModelForms.

Refs #2445.

Thanks to artscoop for the report.

Backport of bfb11b9562 from master.

Conflicts:
	django/forms/fields.py
2014-11-12 22:46:00 +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
aruseni 7c44d4be34 [1.7.x] Fix a typo in 1.7 release notes
Backport of faf4d5c510 from master
2014-11-10 20:02:26 -05:00
aruseni c6d5f74371 [1.7.x] Fixed a typo in 1.6 release notes.
Backport of 006451f894 from master
2014-11-10 15:39:04 +01:00
Tim Graham 3fb6e17857 [1.7.x] Fixed #23785 -- Typo in docs/releases/1.6.txt
Backport of 091f5b5a4e from master
2014-11-09 22:12:00 +01:00
Markus Holtermann 1f50ea730e [1.7.x] Fixed #23770 -- Changed serialization strategy for floats with respect to NaN and Inf
Thanks to w0rp for the report

Backport of c7c098cf97 from master.
2014-11-06 15:31:30 +01:00
Tim Graham 77209e783c [1.7.x] Removed redundant link in 1.7 release notes.
Backport of 9f4c718b2f from master
2014-11-05 09:10:16 -05: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 109719a9cb [1.7.x] Updated six to 1.8.0.
Backport of 81477c91f6 from master
2014-11-04 21:22:45 -05: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
Tim Graham d373e223bd [1.7.x] Added a warning about nonexistent FK constraints when unmigrated apps depend on migrated ones.
Thanks NotSqrt for the report; refs #23741.

Backport of f0ff452451 from master
2014-11-04 07:27:53 -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
Veres Lajos 6b32adda59 [1.7.x] Fixed typos using https://github.com/vlajos/misspell_fixer
Backport of a71a2ea756 from master
2014-11-03 21:07:05 -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
Andy Chosak d3e71a6daa Clarified custom lookups output_field documentation 2014-11-03 16:00:34 +02:00
Andy Chosak 12e5b87b89 [1.7.x] Fixed #23420 - broken warning for unbound naive datetime objects
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).

Backport of ceb1ffcc8d from master.

Conflicts:
	tests/custom_lookups/tests.py
2014-11-03 15:59:17 +02:00
James Brewer 74d0311d6b [1.7.x] Fixed #23376 -- Clarified that certain Storage methods should be implemented but are not required.
Backport of 332706eaa0 from master
2014-11-03 07:18:48 -05:00
Tim Graham 3ac46d0726 [1.7.x] Fixed #23744 -- Fixed typo in selenium testing example.
Thanks djbug for the report.

Backport of 6d0547c1ad from master
2014-11-01 12:37:26 -04:00
Tim Graham 17205a98ed [1.7.x] Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
Thanks raratiru for the report and Claude Paroz for review.

Backport of d6d55368d4 from master
2014-10-31 18:38:46 -04: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 c2cad66e47 [1.7.x] Added a warning about direct settings manipulation in tests.
Thanks Thomas Chaumeny for the initial patch.

Backport of 3f651b3e88 from master
2014-10-31 13:37:56 -04:00
Markus Holtermann 40ad022d5e [1.7.x] Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value
Thanks to Andrey Antukh for the report.

Backport of 715ccfde24 from master
2014-10-31 13:30:56 -04:00
Aymeric Augustin 12bace46c1 [1.7.x] Avoided using private API get_template_from_string.
Conflicts:
	django/contrib/webdesign/tests.py

Backport of c0c1bb9e from master.
2014-10-31 11:43:54 +01:00
Tim Graham 31d1ccca3f [1.7.x] Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
Thanks Aymeric Augustin for the report.

Backport of 19242c675f from master
2014-10-30 19:04: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
Tim Graham ee2e09864d [1.7.x] Fixed #23734 -- Replaced striptags in template filter overview since it has security implications.
Thanks Aymeric Augustin for the suggestion.

Backport of 08c5887f13 from master
2014-10-30 18:27:44 -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
Berker Peksag 79b6717927 [1.7.x] Converted seealso directives to use 4 space indendation.
Backport of affc04060f from master
2014-10-30 14:46:27 -04:00
Tim Graham 9c9f35ed27 [1.7.x] Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
Thanks Doug Goldstein for the initial patch.

Backport of 57e40551e4 from master
2014-10-30 13:58:02 -04:00
slollo ffd31c017f [1.7.x] Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday.
Backport of eab3dc195e from master
2014-10-30 09:20:57 -04: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
Markus Holtermann 21358e7225 [1.7.x] Fixed #23614 -- Changed the way the migration autodetector orders unique/index_together
Thanks to Naddiseo for the report and Tim Graham for the review

Backport of 5c9c1e029d from master
2014-10-29 13:16:23 -04:00
Tim Graham bb42bab6d3 [1.7.x] Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.
Backport of 03bd79ed2 from master
2014-10-29 08:25:59 -04:00
Berker Peksag d73c7e5db6 [1.7.x] Limited lines to 119 characters in django/{contrib,db}.
Refs #23395.

Backport of c9178ef17a (to decrease chance of backport conflicts) from master
2014-10-29 08:01:35 -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
Tim Graham b7231e39a4 [1.7.x] Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
Thanks inglesp for the report.

Backport of e460b1c573 from master
2014-10-27 18:20:18 -04:00
bahoo dea3eefa72 [1.7.x] Fixed typo in squashing migrations documentation
Backport of af7d66b4f2 from master
2014-10-27 17:53:34 -04:00
Claude Paroz a0cfd77971 [1.7.x] Added GeoDjango compatibility with mysqlclient driver
Thanks Tim Graham for helping on that issue.
2014-10-27 16:10:35 +01:00
Claude Paroz 0a4183dfe6 [1.7.x] Fixed typo in MySQL backend doctring
Thanks CHI Cheng for the report.
2014-10-27 14:03:15 +01:00
Claude Paroz 6a1bd837b1 [1.7.x] Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None
Backport of 528c9af54 from master.
2014-10-27 13:59:09 +01:00
Tim Graham abee4f718e [1.7.x] Fixed stable/1.7.x test failures from refs #23699. 2014-10-27 08:19:57 -04:00
Tim Graham af1c85e851 [1.7.x] Fixed flake8 warning.
Backport of ef9e3c5ed8 from master
2014-10-27 07:13:47 -04:00
Tim Graham 6149a0ab18 [1.7.x] Edited release note for refs #23621. 2014-10-27 07:13:23 -04:00