Commit Graph

2488 Commits

Author SHA1 Message Date
Luke Plant a11b610325 [2.0.x] Linked to prefetch_related_objects func in DB optimization docs.
Backport of e283c1a from master
2017-11-23 21:33:08 +03:00
Hyunwoo Park 4091a07f77 [2.0.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 3f237c1a5b from master
2017-11-22 07:48:08 -05:00
Frédéric Massart 427a8b4485 [2.0.x] Clarified who the AdminEmailHandler emails.
Backport of a5f1e5809f from master
2017-11-21 12:05:49 -05:00
Tim Graham 2b3907cf74 [2.0.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c from master
2017-11-16 10:38:48 -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 327f0f37ce from master
2017-11-07 13:07:29 -05:00
Tim Graham 72f875541a [2.0.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 00b93c2b1e from master
2017-11-07 09:03:26 -05:00
Sam Morrow c9ce52820a [2.0.x] Fixed #28745 -- Added first and last page links to paginator docs example.
Backport of dcc0427c58 from master
2017-11-01 20:23:21 -04:00
Tim Graham 29c97fa6b7 [2.0.x] Described how querysets are protected from SQL injection in more detail.
Backport of 6e8508734b from master
2017-11-01 11:53:15 -04:00
Tim Graham cd37e47096 [2.0.x] Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
Backport of afd375fc34 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 617686e226 from master
2017-10-30 21:47:27 -04:00
Botond Beres 41009788a0 [2.0.x] Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable.
Backport of 51d7feff87 from master
2017-10-28 12:41:01 -04:00
Tim Graham 01987bc0b4 [2.0.x] Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
Thanks Tom Aratyn for the report.

Backport of 171c7cc863 from master
2017-10-25 14:21:27 -04:00
Tim Graham c4f518e484 [2.0.x] Suggested LoginView rather than @login_required as an alternative to authenticate().
Backport of 3642c3758b from master
2017-10-25 12:02:12 -04:00
LeeHanYeong edd3601be6 [2.0.x] Removed incorrect reference to ModelChoiceField in Field.choices docs.
Backport of 3ffbd54566 from master
2017-10-13 11:10:51 -04:00
Stefan Schneider eff5f837c9 [2.0.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
Backport of 08c8c3ead9 from master
2017-09-29 11:38:41 -04:00
Stefan Schneider 9f9a8a6c59 [2.0.x] Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt.
Backport of 293df73fb6 from master
2017-09-29 10:32:07 -04:00
Christopher Schäpers ecea60fee8 [2.0.x] Fixed #28627 -- Added slug converter to some path() examples in docs.
Backport of 6da140724d from master
2017-09-25 13:11:07 -04:00
Shai Berger d612026c37 Refs #28595 -- Added a hook to add execute wrappers for database queries.
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak,
Michael Manfre, and Tim Graham for discussion and review.
2017-09-21 12:13:09 -04:00
Sjoerd Job Postmus df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
tk e7adad27f3 Fixed typo in docs/topics/cache.txt. 2017-09-19 06:52:01 -04:00
Samir Shah 4ac2ab30f5 Removed obsolete doc references to javascript_catalog. 2017-09-08 07:53:56 -04:00
Olivier Tabone a027447f56 Fixed #27318 -- Made cache.set_many() return the list of failed keys. 2017-09-06 14:38:44 -04:00
Sami J. Lehtinen 407c1249c9 Fixed #28032 -- Added Paginator.get_page().
Moved boilerplate from docs to a method.
2017-09-06 14:17:19 -04:00
Jonatas CD c9b22707b0 Fixed #28479 -- Doc'd that transaction rollback doesn't revert model state. 2017-09-04 15:43:29 -04:00
Jeremy Satterfield 473ab4610e Fixed #28332 -- Fixed diamond inheritence example in docs. 2017-09-02 14:10:41 -04:00
Jkrzy da3a5cee4f Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs. 2017-08-30 06:25:51 -04:00
Kim DoHyeon f21915bb3a Fixed #27931 -- Clarified the meaning of "django catch-all logger." 2017-08-22 16:24:18 -04:00
Harry Moreno 254fb8d1a4 Added "test --keepdb" to testing speedup docs. 2017-08-22 10:26:00 -04:00
Adrien Brunet b5ad5c628a Fixed typo in documented number of logging filters. 2017-08-21 16:06:38 -04:00
Tom b78d100fa6 Fixed #27849 -- Added filtering support to aggregates. 2017-08-12 17:58:28 -04:00
Mariusz Felisiak 489421b015 Fixed #23546 -- Added kwargs support for CursorWrapper.callproc() on Oracle.
Thanks Shai Berger, Tim Graham and Aymeric Augustin for reviews and
Renbi Yu for the initial patch.
2017-08-12 21:06:49 +02:00
Jonatas CD 31f133ea08 Fixed #28252 -- Corrected docs for default file extensions of makemessages. 2017-08-11 15:22:10 -04:00
Mariusz Felisiak 660d50805b Fixed #23766 -- Doc'd CursorWrapper.callproc().
Thanks Tim Graham for the review.
2017-08-10 22:21:11 +02:00
Melvyn Sopacua 5bb9b9a388 Fixed #28363 -- Allowed naming the migration generated by squashmigrations. 2017-07-26 13:47:35 -04:00
Johannes Hoppe c19b56f633 Fixed #28377 -- Made combining form Media retain relative asset order.
Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
2017-07-20 11:06:30 -04:00
Tim Graham 259875535b Removed unneeded right quotes in docs to fix spelling errors.
A regression in pyenchant caused a problem:
https://github.com/rfk/pyenchant/issues/93
2017-07-18 08:24:49 -04:00
Irindu Indeera babe9e64a6 Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples. 2017-07-11 14:15:17 -04:00
Bruno Alla 604341c85f Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context in as_view(). 2017-07-06 10:34:54 -04:00
Tushar Malik 14251324e6 Added missing import in docs/topics/db/queries.txt. 2017-07-04 20:18:04 -04:00
Mariusz Felisiak 3297dede7f Fixed #28046 -- Added the db_tablespace parameter to class-based indexes.
Thanks Markus Holtermann and Tim Graham for reviews.
2017-06-27 21:15:15 +02:00
Mariusz Felisiak 081e787160 Refs #23919 -- Stopped inheriting from object to define new style classes.
Tests and docs complement to cecc079168.
2017-06-26 10:30:31 -04:00
Tim Graham 49b9c89d40 Fixed #28233 -- Used a simpler example in the aggregation "cheat sheet" docs. 2017-06-06 16:11:48 -04:00
Josh Schneier 37c9b81ebc Fixed #28104 -- Prevented condition decorator from setting ETag/Last-Modified headers for non-safe requests. 2017-06-06 15:37:14 -04:00
Matthias Erll eee34ef64c Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing. 2017-05-31 19:34:56 -04:00
Dima Veselov 01d7ff9a17 Fixed typo in docs/topics/testing/advanced.txt. 2017-05-25 05:44:55 -04:00
Claude Paroz 01f658644a Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Markus Amalthea Magnuson 266b243168 Made docs/topics/migrations.txt use single quotes consistently. 2017-05-22 12:06:49 -04:00
Michiel Beijen 48028c6f9a Pointed Dive into Python links to python3 site
The old site handles python2, and is thus no longer relevant for Django.
Also I pointed the search path links to the proper sections.
2017-05-20 15:32:35 +02:00
Riccardo Magliocchetti bdf192c593 Fixed #28148 -- Doc'd ImageField name validation concerns with the test client. 2017-05-11 13:59:18 -04:00
Josh Schneier 5df0ff4155 Fixed #28089 -- Removed requirement to implement get_short_name() and get_full_name() in AbstractBaseUser subclasses. 2017-05-06 17:05:42 -04:00