1
0
mirror of https://github.com/django/django.git synced 2025-04-27 02:34:38 +00:00

3783 Commits

Author SHA1 Message Date
Senthil
d06381debc [2.0.x] Fixed #28784 -- Clarified how migrate --fake works.
Backport of cbac11f9624d529809e9bdaa7f4d3ab2c5e93009 from master
2018-01-24 15:25:26 -05:00
Ashaba
c6c73e3401 [2.0.x] Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs.
Backport of 95fd5cf459dd23d18e9ef8e1a03eb820fe7205ce from master
2018-01-24 14:48:39 -05:00
Tim Graham
f02c44396a [2.0.x] Fixed "template tag" spelling in docs.
Backport of f0f383b6350c7b2f64bb2a6491a395abdd3313d6 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 e0910dcc9283cd8f782cb97836c291f6f395f3f0.
Backport of b98dc1706e9c63a4cc7d061a3d8a95f6cbf5e950 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 7fbb1bd00d8a3e9a834de83d36ebcbff15c18938 from master
2018-01-19 08:57:28 +01:00
Botond Béres
881f66bc55 [2.0.x] Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.
Backport of 52aa26e6979ba81b00f1593d5ee8c5c73aaa6391 from master
2018-01-12 19:56:36 -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 7c00f9fb1cc47e1c993f7728e2b592a1be29dd40 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 7c81b28ebcaebbc2e5bbca9a73427d81166ce3dc from master
2018-01-07 14:35:06 +01:00
Tim Graham
5bef733014 [2.0.x] Confirmed support for PostGIS 2.4.
Backport of 5d5a2bd299c97f8e03d79380345ec8713d612f58 from master
2018-01-04 17:53:09 -05:00
Berker Peksag
17987b5511 [2.0.x] Updated documented mysqlclient requirement to 1.3.7.
The test requirement was bumped in
2514e044a7fce58176c4e79eec298f3d8f70e89b.
Backport of ad9390bba27cb41da92f734db4d0e36ef3dfc58f from master
2017-12-21 19:13:32 -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 a7a36bb4d8ef7f03c2df9e3279c8f488ab3641d1 from master
2017-12-20 10:44:45 -05:00
M Somerville
6dea1b18f3 [2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
Backport of 16bd4964dfd75759cb3ec0c786e1b5dcc8296fd9 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 2d75e74e18def5de8b23f88f4257f262f18fe1a9 from master
2017-12-07 10:53:07 -05:00
Mohammad Esmaeilbeygi
6b01ff80b2 [2.0.x] Fixed import in docs/ref/models/conditional-expressions.txt example.
Backport of 9d1d0e2b702fe1a3f979a95bc4583f1a1691c74f from master
2017-12-07 08:58:04 -05:00
Igor Starikov
b0d809ac6c [2.0.x] Fixed typo in docs/ref/models/expressions.txt.
Backport of 3cc08f4b2ba6fe7931cf551676fa86a4966987e4 from master
2017-12-05 08:40:07 -05:00
Frédéric Massart
427a8b4485 [2.0.x] Clarified who the AdminEmailHandler emails.
Backport of a5f1e5809f26d93ea0c6010bb44895b3d1992089 from master
2017-11-21 12:05:49 -05:00
Benjamin Bach
385e06d8c0 [2.0.x] Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
Backport of bf49d9eb0b33aefc7179d3843fad0cb7df4e7790 from master
2017-11-17 17:30:37 -05:00
Tim Graham
3f372ef9d3 [2.0.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 12:57:18 -05:00
Mariusz Felisiak
ca0a9c938f
[2.0.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-12 14:31:21 +01:00
Tim Graham
3c8c3ff637 [2.0.x] Fixed #28777 -- Clarified the docs for admin.register's args.
Backport of abaf0ab4a444977dc8ac07b9b63256814c352245 from master
2017-11-09 21:22:03 -05:00
Tim Graham
c869207ea2 [2.0.x] Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
Thanks Hynek Cernoch for the report and review.

Backport of 327f0f37ce3c1e5ac3a19668add237ddd92266d6 from master
2017-11-07 13:07:29 -05:00
Chris Lamb
518c11352c [2.0.x] Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
Backport of 998c9dd599cd907bb38f440fff13a808571589f8 from master
2017-11-07 11:40:17 -05:00
Дилян Палаузов
e68baf3862 [2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments.
Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master
2017-11-06 22:41:23 -05:00
Tim Graham
bcaef2c91d [2.0.x] Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
Backport of 5587485d49af8b32ab660854f751a234baa6610b from master
2017-11-06 13:12:56 -05:00
Sergey Fedoseev
a44fb4aa02 [2.0.x] Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes.
Backport of 8869142a4d5b069c61781c0e4c5fdc971b017949 from master
2017-11-04 10:56:38 -04:00
Tim Graham
7d3c02a214 [2.0.x] Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
Thanks Hynek Cernoch for the report and review.

Backport of 1e7dbbdec5ca2bd236b8ab64fa172a8fc0abcb1e from master
2017-11-01 11:53:07 -04:00
Tim Graham
f1efedf01a [2.0.x] Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.

Backport of 7945bc1d08f7c8fd8f25eed0327e71dca81975e4 from master
2017-11-01 11:11:48 -04:00
Tim Graham
cd37e47096 [2.0.x] Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
Backport of afd375fc343baa46e61036087bc43b3d096bb0ca from master
2017-11-01 11:06:56 -04:00
Ville Skyttä
8a6392e4c6 [2.0.x] Fixed 'a'/'an' mix-ups in docs.
Backport of 617686e226231fe8ad3f2e49d3efabf6f5f434d3 from master
2017-10-30 21:47:27 -04:00
Adam Johnson
1f4e9935ef [2.0.x] Removed docs for obsolete compatibility checks.
Backport of f8946fbb5d7e8eb6c8ca7481b0cd4e78627ef8cf from master
2017-10-30 12:42:47 -04:00
Ran Benita
6b5f2e3b79 [2.0.x] Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
Thanks Adam Chidlow for polishing the patch.

Backport of 03049fb8d96ccd1f1ed0285486103542de42faba from master
2017-10-28 21:42:51 -04:00
Botond Beres
5630f4e6ac [2.0.x] Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms.
Backport of 56b364bacca0d6a6cd8fbcd93aeb49f3ad46e58c from master
2017-10-28 13:28:46 -04:00
Samir Shah
791f7aa110 [2.0.x] Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
Follow up to ad393beeb71e8774e4bf9ad842b97022e50f1231.

Backport of 6c98c5abdfb8572936992b5395aab001aeb245f2 from master
2017-10-28 07:49:25 -04:00
Botond Beres
0eccbd2a8e [2.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of ec5f7cb92e315846cb020b909b0ab7e0489aad05 from master
2017-10-25 19:03:58 -04:00
Botond Beres
854aec4801 [2.0.x] Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
Backport of 95a14cfc47de5762ddb1400e6e5152f9e3172657 from master
2017-10-25 19:02:21 -04:00
Tim Graham
f9a01d40d5 [2.0.x] Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted.
Backport of 1a82fc245eb8ac4b131ec02a6ac3e112deb8d5a6 from master
2017-10-20 15:03:36 -04:00
Tim Graham
b952db6772 [2.0.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
Backport of eb9b56c5b60215a683c80e68f08ae6fca0ec24ef from master
2017-10-20 14:03:47 -04:00
Collin Stedman
36b4def915 [2.0.x] Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure.
Backport of 4a861e88508eacdb8d0d5bc43f9a0576cedb9f22 from master
2017-10-18 21:10:18 -04:00
Jozef
8cef9a5799 [2.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-10-17 10:07:33 -04:00
Simon Willison
9a2c2b7a68 [2.0.x] Made SearchQuery examples less sterotyped.
Backport of 346eb328617ada9c65f5c9ded2e2914f3dcc04c9 from master
2017-10-17 09:59:01 -04:00
Mariusz Felisiak
8b42a18b2d
[2.0.x] Refs #28643 -- Reorganized database functions docs.
Thanks Tim Graham for the review.

Backport of ad8036d715d4447b95d485332511b4edb1a40c0e from master
2017-10-13 18:38:50 +02:00
Mads Jensen
d3e115151e [2.0.x] Fixed #28423 -- Expanded docs for indexing contrib.postgres fields.
Backport of 22ff4f81b1859ed7af7999ef479a10b5d31a2164 from master
2017-10-09 12:19:38 -04:00
François Freitag
3eb447d85b [2.0.x] Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.

Backport of e3a30f2d16d65e7f0b870e997e92425a2f795587 from master
2017-10-09 08:55:06 -04:00
Stefan Schneider
eff5f837c9 [2.0.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
Backport of 08c8c3ead97893ec0e1dece699525ad7ed27c2d7 from master
2017-09-29 11:38:41 -04:00
Michael Käufl
acd870a75a [2.0.x] Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 259fec8de0814ba1277774b030bc6e3f99e40268 from master
2017-09-29 09:27:35 -04:00
Jon Ribbens
aff2df2427 [2.0.x] Fixed #28625 -- Distinguished DATABASES['TIME_ZONE'] from settings.TIME_ZONE.
Backport of 44f08422c872e32854216b2b30aab119ec3bb5d8 from master
2017-09-28 10:17:46 -04:00
Miguel
5b38d7e973 [2.0.x] Clarified StrIndex docs example.
Backport of 4a908c0cd23fa4da621938203ee2d910b179dbf8 from master
2017-09-27 09:28:35 -04:00
Christopher Schäpers
ecea60fee8 [2.0.x] Fixed #28627 -- Added slug converter to some path() examples in docs.
Backport of 6da140724dba546d2f3aced1308e617747b0385c from master
2017-09-25 13:11:07 -04:00
Tim Graham
dda37675db [2.0.x] Refs #27788 -- Corrected minimum supported Oracle version in GIS docs.
Backport of d90936f41a2d7a3361e51fc49be033ba0f05f458 from master
2017-09-22 15:09:55 -04:00
Nicolas Delaby
01d440fa1e Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support.
Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22 11:53:17 -04:00