2051 Commits

Author SHA1 Message Date
Sergey Fedoseev
e0b3681838 [1.8.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 12:03:03 +01:00
Tim Graham
97dfc30f5b [1.8.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:39:59 -05:00
Marissa Zhou
358ae4a687 [1.8.x] Fixed #24796 -- Moved SecurityMiddleware in MIDDLEWARE_CLASSES docs.
Partial backport of 8b1f39a727be91aab40bdb37235718ed63ae1d50 from master
2016-07-18 07:57:00 -04:00
Taylor Edmiston
787675789c [1.8.x] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 43d0345fe11624d6b4fd960139ff653451b4f147 from master
2016-07-06 08:49:17 -04:00
Berker Peksag
ba29dfb191 [1.8.x] Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example.
Backport of 8f50ff5b15a742f345dade0848a3fbbf2aff629d from master
2016-06-09 12:52:44 -04:00
Berker Peksag
4295848868 [1.8.x] Fixed #26503 -- Removed an outdated example from session docs.
Backport of 698c8dfc2a5c5865a8bb163c1ae70b75d53e6415 from master
2016-05-31 07:21:23 -04:00
Sergey Fedoseev
17a7ca283f [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 26794f6657a9d201d47a0748a449a94ad5d7c66e from master
2016-05-27 10:31:57 -04:00
MariKiev
4f50139692 [1.8.x] Added imports to docs/topics/db/aggregation.txt example.
Backport of 30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530 from master
2016-05-25 09:57:55 -04:00
Tim Graham
7934695a0f [1.8.x] Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.
Thanks Ankush Thakur for the report and Simon for the review.

Backport of fe70f280d7ea4402f676696c4013c4a23d4e4990 from master
2016-04-27 15:26:14 -04:00
Jon Dufresne
f8b8bcea5d [1.8.x] Fixed incorrect rendered widget in forms example.
Backport of 38ddd4ab553fb6b311c62d15fca7d848f84d539a from master
2016-04-20 21:08:38 -04:00
Simon Charette
5198b0abea [1.8.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.
Thanks Pablo Oubiña for the report.

Backport of 64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 from master
2016-03-31 18:34:03 -04:00
Aymeric Augustin
ca051388de [1.8.x] Fixed #26408 -- Updated link to DEP 182.
Thanks kaifeldhoff for the report.

Backport of 7b1ce7f from master
2016-03-25 20:52:33 +01:00
Tim Shaffer
540b487cd6 [1.8.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
2016-03-25 13:38:38 -04:00
Tim Graham
a2970a0464 [1.8.x] Fixed #26392 -- Corrected login_required/permission_required stacking example.
Backport of c41737dc00e2c8d34046b9f856f23fcc0cb4a82c from master
2016-03-21 19:58:44 -04:00
Andrew Abraham
5d931314e3 [1.8.x] Fixed DiscoverRunner failfast parameter default in docs.
Backport of f2d9caa625084b0b96d60153f6b26ba43a1ab835 from master
2016-03-15 18:35:08 -04:00
Florian Apolloner
f4e6e02f77 [1.8.x] Fixed CVE-2016-2513 -- Fixed user enumeration timing attack during login.
This is a security fix.
2016-02-29 08:07:17 -05:00
Tim Graham
3b0b1e071d [1.8.x] Fixed a function signature in docs/topics/auth/default.txt.
Backport of 441c537b66233ae57bf0023f02d8262474229e1a from master
2016-02-24 16:25:37 -05:00
Tim Graham
4b8bd72a9f [1.8.x] Removed docs of deprecated SimpleTestCase warnings behavior.
Removed in Django 1.7 (4f6be9a0c43050500af598527e1453d27c5c5b85).

Backport of 6637cd0ef2fd5f063df82000c18c64c246bb6e1b from master
2016-02-24 09:59:23 -05:00
Tim Graham
2d321d2393 [1.8.x] Fixed #26188 -- Documented how to wrap password hashers.
Backport of 5a541e2e6cb01e254f20c302093a24d7dc9af8ce from master
2016-02-23 09:34:04 -05:00
Daniel Quinn
5127ab4e73 [1.8.x] Fixed import location of check_password() in docs.
Backport of de7edc005f06c47c1d39d5cb30762d424ee4dabf from master
2016-02-22 12:43:41 -05:00
Camilo Nova
b9105e7dea [1.8.x] Added import in docs/topics/email.txt example.
Backport of a6f856df52d532d5537191eca237de6efdffe309 from master
2016-02-12 13:45:13 -05:00
Markus Holtermann
3af5643d82 [1.8.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
2016-02-12 14:37:10 +11:00
Tim Graham
ea2d9f0d4a [1.8.x] Refs #26089 -- Removed obsolete docs about custom user model testing.
Backport of 1e9150443e5696d764ed81c97b53ef0365a5d854 from master
2016-02-02 08:55:37 -05:00
Yoong Kang Lim
c2dfc3616a [1.8.x] Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
Backport of 31817dd2eb69db54eb559716aae42fe55ada5fea from master
2016-01-27 09:07:07 -05:00
Tim Graham
d162438c65 [1.8.x] Fixed Sphinx highlight warnings in docs.
Backport of 9c43d8252a926f72be5a279186b42848501819b8 from master
2016-01-25 12:10:21 -05:00
Chris Lamb
91d46d2fb8 [1.8.x] Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.

Backport of 77b8d8cb6d6d6345f479c68c4892291c1492ba7e from master
2015-12-24 09:57:02 -05:00
Alasdair Nicol
e95c9c35d3 [1.8.x] Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs.
Backport of 32c7d93e5f0638c5a1ec8e2525c967be444fcef1 from master
2015-12-23 18:31:24 -05:00
Tim Graham
d156ae0612 [1.8.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation.
Backport of 36d0aa43036090685cebe6c9f757631cdadb1400 from stable/1.9.x
2015-12-22 13:11:43 -05:00
Gavin Wahl
d34de856e5 [1.8.x] Fixed user_passes_test() signature in docs.
Backport of ec708803f70d51dda21845799de8c62d02611808 from master
2015-12-08 15:57:46 -05:00
Tim Graham
cdc354eb39 [1.8.x] Fixed #25895 -- Used a consistent style for UserAdmin overrides.
Thanks Justin Abrahms for the report.

Backport of 166e0490d39f619928ee9c5133cc5cab0ae5c1db from master
2015-12-08 14:42:39 -05:00
Gagaro
9582ba51bd [1.8.x] Fixed #25812 -- Restored the ability to use custom formats with the date template filter.
Backport of 34d88944f46d3e2734488fd0ca3c2c24c15a0264 from master
2015-11-28 08:44:51 -05:00
James Beith
85a021b9cb [1.8.x] Fixed a typo in the managers docs.
Backport of e03798a4ae6e0eca43c1b238dd96b3798aaeca81 from master
2015-11-27 13:54:19 -05:00
Neal Todd
a16d4e249c [1.8.x] De-emphasized use of NullHandler in logging docs.
NullHandler removed in 1.9; unused since Django 1.5.

Backport of b3acdeee502e961065bfcdb7673d7cf91ab5b283 from master
2015-11-18 09:56:33 -05:00
Alex Morozov
b4aa38d106 [1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
Backport of 5abed864ee1cd31a0b920768b4abe85b26b43a4d from master
2015-11-17 10:18:07 -05:00
Anderson Resende
2a4a9e316e [1.8.x] Fixed #25744 -- Corrected reference to User object in auth docs.
Backport of ce4914eab4688ace4b97d14a8c271887235ebb3f from master
2015-11-12 19:23:59 -05:00
Bryan Marty
16c1075d33 [1.8.x] Fixed #25169 -- Documented stacking of permission_required and login_required.
Backport of 9788625277b85596302bbf2c39cf829b7a766a4f from master
2015-11-12 14:27:22 -05:00
Tim Graham
10d18dec10 [1.8.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
Thanks Josh, Anssi, and Carl for reviews and advice.

Backport of 91a431f48c1fc5ecc9a837e8071a0062d31b490f from master
2015-11-12 13:22:17 -05:00
Tim Graham
e592574e6e [1.8.x] Fixed #25727 -- Added a doc link to cached_property.
Backport of e0de82c9b2c41c4c479d2245e7d5cd59638b5440 from master
2015-11-10 13:29:04 -05:00
Thijs van Dien
78a28cca20 [1.8.x] Fixed #25473 -- Changed underscores in url() names to dashes in docs.
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.

Thanks guettli for reporting this.

Backport of 1679472165e840aef4c8c9ece2fbf4620b87beab from master
2015-11-07 22:02:03 +01:00
Tim Graham
bd55e80635 [1.8.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
Backport of 81006b9657534a21c3eadb2bc4a87c46db54c099 from master
2015-11-07 20:34:07 +01:00
Attila Tovt
189ceae19d [1.8.x] Fixed #25681 -- Added 'default' to DATABASES example.
Backport of ac750dbbc0533dcf9c2f6c0f09957adf6f976d3e from master
2015-11-07 11:10:18 +01:00
japrogramer
383e2e1c53 [1.8.x] Fixed typo in docs/topics/auth/default.txt.
Backport of a10cbbbc17d4244812ef713437fa44207fe1a223 from master
2015-11-03 08:57:15 +00:00
Tomasz Anielak
7648ceb06b [1.8.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8dccefa0c0a3b4a63f9053c4238a8a0c from master
2015-10-31 08:53:48 -04:00
Bryan Marty
dd0e7f5301 [1.8.x] Fixed #24212 -- Added example pylibmc CACHES configuration.
Backport of ad67fcdf51ebbbd7c02c1a2b1f269edc8f92afdc from master
2015-10-30 13:45:53 -04:00
bee_keeper
06abe84e20 [1.8.x] Added class-based view example to RequestFactory example.
Backport of a17216646adaaa909fe52a4e974b56b4f094fc72 from master
2015-10-30 13:14:29 -04:00
Bryan Marty
42f2546742 [1.8.x] Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.

Backport of 455034d4df048010de4ae0a9a2392b70d1463c61 from master
2015-10-28 15:49:05 -04:00
Tim Graham
29955ba341 [1.8.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927cb69e8709ab2bb05f6721a7cd37a3c from master
2015-10-28 13:52:33 -04:00
Jacek Bzdak
d83454fbf2 [1.8.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3e5996d857b085f188a630d1504d9ca from master
2015-10-23 15:24:18 -04:00
薛丞宏
415837543e [1.8.x] Clarified that the test client response content attribute is bytes.
Backport of 484edc81c1ebd195c333f3ea8d3f9ca882a17837 from master
2015-10-23 14:27:15 -04:00
Benjamin Wohlwend
840e97ab01 [1.8.x] Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
Backport of 2b9eed41fa26537d1af4f818c6e4296ce3305b01 from master
2015-10-22 14:11:52 -04:00