Commit graph

10311 commits

Author SHA1 Message Date
Tim Graham
f02c44396a [2.0.x] Fixed "template tag" spelling in docs.
Backport of f0f383b635 from master
2018-01-23 09:48:31 -05:00
Chris Jerdonek
b749c35618 [2.0.x] Refs #25604 -- Removed docs for makemigrations --exit.
Follow up to e0910dcc92.
Backport of b98dc1706e from master
2018-01-20 10:45:10 -05:00
Mariusz Felisiak
c881c4f1f8 [2.0.x] Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
Backport of 7fbb1bd00d from master
2018-01-19 08:57:28 +01:00
Peter Wischer
fbe7c8f413 [2.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a23 from master
2018-01-17 08:50:26 +01:00
Karmen
146317b734 [2.0.x] Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase.
Backport of 4fcd28d442 from master
2018-01-15 10:36:31 -05:00
jaywelborn
e5acbbe18e [2.0.x] Fixed #28761 -- Documented how an inline formset's prefix works.
Backport of 56e590cc0b from master
2018-01-13 16:39:53 -05:00
Étienne Loks
8f2e3857ce [2.0.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion.
Backport of 9a621edf62 from master
2018-01-13 13:10:02 -05:00
Tim Graham
62236b514e [2.0.x] Added stub release notes for 1.11.10.
Backport of cea5fe94c6 from master
2018-01-13 09:52:12 -05:00
Botond Béres
881f66bc55 [2.0.x] Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.
Backport of 52aa26e697 from master
2018-01-12 19:56:36 -05:00
Himanshu Chauhan
cc1bdce674 [2.0.x] Fixed #28885 -- Fixed hidden content at the bottom of the "The install worked successfully!" page for some languages.
Backport of 1b753b2d60 from master
2018-01-12 19:33:07 -05:00
Tim Graham
3f951b1f94 [2.0.x] Fixed #29017 -- Updated BaseCommand.leave_locale_alone doc per refs #24073.
Backport of b9cec9fa1f from master
2018-01-12 18:31:52 -05:00
Tim Graham
8594d89527 [2.0.x] Removed note in tutorial about bypassing manage.py.
This isn't relevant for beginners.

Backport of a8e492bc81 from master
2018-01-11 19:06:24 -05:00
Tim Graham
3d144787c9 [2.0.x] Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.

Backport of 7c00f9fb1c from master
2018-01-11 06:52:58 -05:00
Mariusz Felisiak
07fb89b420
[2.0.x] Updated various links in docs to use HTTPS.
Backport of 7c81b28ebc from master
2018-01-07 14:35:06 +01:00
Tim Graham
5bef733014 [2.0.x] Confirmed support for PostGIS 2.4.
Backport of 5d5a2bd299 from master
2018-01-04 17:53:09 -05:00
Tim Graham
41b30a992e [2.0.x] Added stub release notes for 2.0.2.
Backport of 0f5a741ada from master
2018-01-01 20:12:08 -05:00
Tim Graham
45cf4ae862 [2.0.x] Added release date for 2.0.1 and 1.11.9.
Backport of 3ae2bcc768 from master
2018-01-01 19:35:05 -05:00
Mariusz Felisiak
b54302d226
[2.0.x] Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
Thanks Tim Graham for the review.

Backport of c815213740 from master
2017-12-27 18:46:05 +01:00
Tim Graham
1b27374b0d [2.0.x] Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes
Backport of 038ea4f859 from master
2017-12-27 12:24:07 -05:00
Ran Benita
4e4619a2b8 [2.0.x] Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()).
Backport of c21f158295 from master
2017-12-26 12:18:39 -05:00
Claude Paroz
830636df73 [2.0.x] Fixed #28594 -- Removed Jython docs and specific code
Thanks Andrey Martyanov for the report, and Tim Graham for the review.
Backport of 23b21db31b from master.
2017-12-23 10:28:29 +01:00
Simon Charette
b40a1d774d [2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.

This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.

Regression in 095c1aaa89.

Thanks Tim for the additional tests and edits, and Mariusz for the review.

Backport of 9f7772e098 from master
2017-12-22 16:09:49 -05:00
Berker Peksag
17987b5511 [2.0.x] Updated documented mysqlclient requirement to 1.3.7.
The test requirement was bumped in
2514e044a7.
Backport of ad9390bba2 from master
2017-12-21 19:13:32 -05:00
Tilmann Becker
c99ab335a1 [2.0.x] Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.
Regression in df41b5a05d.

Backport of 01384ce36c from master
2017-12-20 20:56:57 -05:00
Tim Graham
6f86d8bc69 [2.0.x] Fixed #28941 -- Fixed crash in testserver command startup.
Regression in 2b09e4c88e.

Backport of e7b804c060 from master
2017-12-20 15:15:24 -05:00
Sergey Fedoseev
2679cdbea2 [2.0.x] Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone.
Backport of a7a36bb4d8 from master
2017-12-20 10:44:45 -05:00
weijunji
f0801119b7 [2.0.x] Fixed #28929 -- Corrected QUnit examples.
Backport of 1ef8b30abe from master
2017-12-18 09:50:50 -10:00
Daniel Hepper
cc17f39c9c [2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial.
Backport of 4dcd7723d5 from master
2017-12-18 09:13:42 -10:00
Sergey Fedoseev
0f7ca1e878 [2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
This reverts commit a146b65628 and adds
a test for the regression.

Backport of 6fd6d8383f from master
2017-12-12 22:01:25 -10:00
Rodrigo Pinheiro Marques de Araújo
9f39f202ab [2.0.x] Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields.
Backport of 30a389bd77 from master
2017-12-12 21:40:05 -10:00
Sergey Fedoseev
ce26ec0163 [2.0.x] Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
Regression in 58da81a5a3.

Backport of da71e4bb08 from master
2017-12-12 17:15:29 -10:00
Morgan Wahl
5ca9cf47a7 [2.0.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
Forwardport of 3522203502 from stable/1.11.x
2017-12-08 14:00:50 -05:00
M Somerville
6dea1b18f3 [2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
Backport of 16bd4964df from master
2017-12-07 12:20:22 -05:00
Sam Collins
66ccb3acb9 [2.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 2d75e74e18 from master
2017-12-07 10:53:07 -05:00
Tim Graham
a06828cd2e [2.0.x] Reverted "[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI."
This reverts commit a2aea4521d as it was
committed by mistake.
2017-12-07 09:06:09 -05:00
Mohammad Esmaeilbeygi
6b01ff80b2 [2.0.x] Fixed import in docs/ref/models/conditional-expressions.txt example.
Backport of 9d1d0e2b70 from master
2017-12-07 08:58:04 -05:00
Morgan Wahl
a2aea4521d [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-06 10:08:52 -05:00
Tim Graham
e30674a1b7 [2.0.x] Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs.
Backport of 4114b441ee from master
2017-12-06 09:24:01 -05:00
Tim Graham
be70d3b968 [2.0.x] Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
Backport of bae365e13c from master
2017-12-06 09:16:52 -05:00
Mariusz Felisiak
741711f8a2 [2.0.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of fc48047586 from master
2017-12-05 22:34:56 +01:00
Mariusz Felisiak
73ab743866 [2.0.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of f79d9a322c from master
2017-12-05 22:34:47 +01:00
Claude Paroz
dd5d405e62 [2.0.x] Removed 'development' word in contributing docs
Backport of f2ec896912 from master.
2017-12-05 18:44:06 +01:00
Nick Pope
c1d57615ac [2.0.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a.

Backport of e014f91a70 from master
2017-12-05 11:44:11 -05:00
Tim Graham
e71f4e8632 [2.0.x] Added stub release notes for 1.11.9.
Backport of dfeb19121b from master
2017-12-05 10:55:35 -05:00
Igor Starikov
b0d809ac6c [2.0.x] Fixed typo in docs/ref/models/expressions.txt.
Backport of 3cc08f4b2b from master
2017-12-05 08:40:07 -05:00
David Szotten
48beda6660 [2.0.x] Fixed grammar in docs/releases/2.0.txt.
Backport of bee4c2baed from master
2017-12-04 08:56:19 -05:00
Sergey Fedoseev
6a70b576b5 [2.0.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6 from master
2017-12-04 11:55:12 +01:00
Tim Graham
7925351241 [2.0.x] Added stub release notes for 2.0.1.
Backport of 450c933fff from master
2017-12-02 10:42:34 -05:00
Tim Graham
6c05e69221 [2.0.x] Added release dates for 2.0 and 1.11.8.
Backport of 335aad5d91 from master
2017-12-02 08:56:06 -05:00
Simon Charette
31d318d19c [2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.
Thanks Ramiro for the input and Tim for the review.

Backport of 095c1aaa89 from master
2017-12-01 22:15:48 -05:00