Commit Graph

18377 Commits

Author SHA1 Message Date
Carl Meyer ac359dc771 [1.7.x] Fixed #21794 -- Removed deprecation warning for abstract models outside an app.
Backport of e7b9a58b08 from master.
2014-11-19 15:56:25 -07:00
Stratos Moros 50434aebe2 [1.7.x] Fixed #22248 -- Made RenameModel reversible
Backport of cf7a2a000e from master
2014-11-19 09:51:07 -05:00
Tillmann Karras dfcac7d7f5 [1.7.x] Fixed #23799 -- Made makemigrations respect --no-optimize.
Thanks to yamila-moreno for the idea of a skip message.

Backport of d188101319 from master
2014-11-18 09:20:04 +01:00
Carl Meyer 229abe62fa [1.7.x] Fix malformed note directive. 2014-11-17 16:43:25 -07:00
Markus Holtermann 03d983f7c3 [1.7.x] Fixed #23859 -- Fixed a migration crash when a field is renamed that is part of an index_together
Backport of 7b4a994599 from master.
2014-11-17 15:57:19 -07:00
twidi 49d4095767 [1.7.x] Avoided unneeded calls to state.render() in migrations.
Backport of 19ae13d9ed from master
2014-11-17 18:45:21 +01:00
twidi 4fbeec5631 [1.7.x] Reordered condition to avoid calling allow_migrate() if unneeded.
Backport of 82aca216e1 from master
2014-11-17 18:34:36 +01:00
Tim Graham 5a6d6c5e0b [1.7.x] Fixed #23855 -- Removed unnecessary all() in tutorial 3.
Backport of 8fce797830 from master
2014-11-17 18:12:19 +01:00
nmundar b2534bfa7b [1.7.x] Fixed #23690 - fixed examples of manual rendering of form fields
Documentation for rendering form fields manually is now updated to use fields id_for_label instead of hardcoded values with additional mention of label_tag for alternative generation of complete label tag.

Backport of 48515ee1f7 from master
2014-11-16 14:36:08 +01: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
Erik Romijn d49c42e20e [1.7.x] Fixed #23793 -- Clarified password reset behavior in auth docs
Backport of c5132382f0 from master.
2014-11-15 17:44:29 +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 b050dc46a9 [1.7.x] Fixed #23588 -- Added a link in tutorial for list_display options.
Backport of 3a550bb6d3 from master
2014-11-13 20:16:29 +01:00
Tim Graham cf5e2c46f2 [1.7.x] Fixed #23802 -- Typos in 1.7 release notes.
Backport of d5a109f6e6 from master
2014-11-13 20:10:40 +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 4f5614d68e [1.7.x] Removed thread customizations of six which are now built-in.
Backport of 7ef81b5cdd from master
2014-11-13 11:34:03 +01:00
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