2169 Commits

Author SHA1 Message Date
Aymeric Augustin
6ec2ab1cda [1.9.x] Fixed #26408 -- Updated link to DEP 182.
Thanks kaifeldhoff for the report.

Backport of 7b1ce7f from master
2016-03-25 20:50:41 +01:00
Tim Shaffer
9d0c8d3dd9 [1.9.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
2016-03-25 13:38:35 -04:00
Tim Graham
7dee62ff68 [1.9.x] Fixed #26392 -- Corrected login_required/permission_required stacking example.
Backport of c41737dc00e2c8d34046b9f856f23fcc0cb4a82c from master
2016-03-21 19:58:42 -04:00
Andrew Abraham
2ed2b508ce [1.9.x] Fixed DiscoverRunner failfast parameter default in docs.
Backport of f2d9caa625084b0b96d60153f6b26ba43a1ab835 from master
2016-03-15 18:35:02 -04:00
Duane Hilton
0dc3822f56 [1.9.x] Fixed #26290 -- Documented that a QuerySet for pagination should be ordered.
Backport of f8b23e52e86307428da2cf928bf4f1d9fdbd2694 from master
2016-03-15 10:14:29 -04:00
Moritz Sichert
27bed94e9c [1.9.x] Fixed #25804 -- Documented additions to Jinja2 context.
Backport of 6aef986cdbff72809b39880132959ef74827492f from master
2016-03-14 08:43:35 -04:00
Jakub Wilk
9ed08da6c6 [1.9.x] Fixed typos in docs.
Backport of 402da9ab7b2bae807b7ea30c23ef524b0aeb1903 from master
2016-03-14 08:09:02 -04:00
Claude Paroz
0e80ac4672 [1.9.x] Fixed #26256 -- Added note about primary key serialization
Thanks Sonu kumar for the report and Tim Graham for the review.
Backport of c5fda55edc from master.
2016-03-08 21:30:58 +01:00
Florian Apolloner
af7d09b0c5 [1.9.x] Fixed CVE-2016-2513 -- Fixed user enumeration timing attack during login.
This is a security fix.
2016-03-01 11:38:49 -05:00
Tim Graham
a23b387e5a [1.9.x] Corrected a run on sentence in doc/topics/db/models.txt.
Backport of 22d2a5b00ac99e638d95cbfe1cc41ef217fa50d4 from master
2016-02-25 14:24:18 -05:00
Tim Graham
d7881bfa5c [1.9.x] Refs #26270 -- Reorganized TestCase docs.
Backport of 7a7e403325427642905a5b3e26931c2b8e92d4b1 from master
2016-02-25 08:05:14 -05:00
Tim Graham
3e1aa37422 [1.9.x] Fixed a function signature in docs/topics/auth/default.txt.
Backport of 441c537b66233ae57bf0023f02d8262474229e1a from master
2016-02-24 16:25:34 -05:00
Tim Graham
bd9dc810eb [1.9.x] Removed docs of deprecated SimpleTestCase warnings behavior.
Removed in Django 1.7 (4f6be9a0c43050500af598527e1453d27c5c5b85).

Backport of 6637cd0ef2fd5f063df82000c18c64c246bb6e1b from master
2016-02-24 09:59:16 -05:00
Markus Holtermann
5ca1d0a654 [1.9.x] Fixed spelling error
Backport of b14470c7b7ee73c328c9c60100165301e6c2e24b from master
2016-02-23 10:27:41 +11:00
Tim Graham
31c9301f27 [1.9.x] Fixed #26188 -- Documented how to wrap password hashers.
Backport of 5a541e2e6cb01e254f20c302093a24d7dc9af8ce from master
2016-02-22 17:29:38 -05:00
Daniel Quinn
174811c553 [1.9.x] Fixed import location of check_password() in docs.
Backport of de7edc005f06c47c1d39d5cb30762d424ee4dabf from master
2016-02-22 12:43:36 -05:00
Berker Peksag
f78892f2de [1.9.x] Refs #19353 -- Added tests for using custom user models with built-in auth forms.
Also updated topics/auth/customizing.txt to reflect that subclasses of
UserCreationForm and UserChangeForm can be used with custom user models.

Thanks Baptiste Mispelon for the initial documentation.

Backport of f0425c72601f466c6a71518749c6d15b94945514 from master
2016-02-17 10:42:54 -05:00
Camilo Nova
2b28a21232 [1.9.x] Added import in docs/topics/email.txt example.
Backport of a6f856df52d532d5537191eca237de6efdffe309 from master
2016-02-12 13:45:07 -05:00
Markus Holtermann
765f6d8041 [1.9.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
2016-02-12 14:35:38 +11:00
Johannes Linke
6a0832dacb [1.9.x] Fixed #26111 -- Clarified that fixtures are loaded once per TestCase.
Backport of 02430ef19d9a7d3663cbc1cf66438e9e86b919d1 from master
2016-02-11 18:54:27 -05:00
Becka R
ec16503f2b [1.9.x] Clarified "database column type" explanation.
Backport of cf48962b361b573e580b79839c19b640b7f304a2 from master
2016-02-11 18:27:14 -05:00
Tim Graham
f7332b3ec5 [1.9.x] Updated instructions for gettext on Windows.
Backport of 1d86d4c72b322498819fb8a17a577300152dc6d4 from master
2016-02-11 08:46:25 -05:00
Tim Graham
9f743e25bd [1.9.x] Fixed #26206 -- Fixed docs comments causing empty code blocks.
Backport of f2b45ddd99ff23c0bd103f1dda1e1cb0c8dc6d84 from master
2016-02-11 07:59:30 -05:00
Tim Graham
194bf8ca62 [1.9.x] Refs #26089 -- Removed obsolete docs about custom user model testing.
Backport of 1e9150443e5696d764ed81c97b53ef0365a5d854 from master
2016-02-02 08:55:06 -05:00
Harry
fe41a134bc [1.9.x] Fixed #26152 -- Documented how to avoid django.setup() deadlock in standalone scripts.
Backport of 0fb1185538aeec9004fb9c84d96b81dc2778f66a from master
2016-02-01 13:41:31 -05:00
Tim Graham
a9fbf0735a [1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
2016-02-01 11:54:26 -05:00
Tim Graham
d7a6086825 [1.9.x] Fixed #23868 -- Added support for non-unique django-admin-options in docs.
Also documented missing short command line options to fix #24134. This bumps
the minimum sphinx version required to build the docs to 1.3.4.

Thanks Simon Charette for review.

Backport of e519aab43a419589e92fe284e4ce2f2e034aec6a from master
2016-02-01 11:25:42 -05:00
Tim Graham
0495f44b8d [1.9.x] Unified some doc links to OneToOneField and ManyToManyField.
Backport of 8ce8beb3f24042ed0c3da00ef3d23c25036021ed from master
2016-02-01 11:02:53 -05:00
Tim Graham
5879bd090c [1.9.x] Added a missing session setting in docs.
Backport of 9a5c94588e20e51c0c1b3fd50a2ca2716876b195 from master
2016-01-29 15:09:07 -05:00
Yoong Kang Lim
e47f0c1247 [1.9.x] Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
Backport of 31817dd2eb69db54eb559716aae42fe55ada5fea from master
2016-01-27 09:05:58 -05:00
Tim Graham
204d31cd60 [1.9.x] Refs #26142 -- Documented that Formset's extra=0 doesn't prevent creating objects.
Backport of 8e6a08e937272f088902cdbec65a9f2e919783bf from master
2016-01-27 08:57:17 -05:00
Chris Lamb
3306106fb1 [1.9.x] Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.

We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.

Backport of abc0777b63057e2ff97eee2ff184356051e14c47 from master
2016-01-25 12:44:14 -05:00
Tim Graham
20b217b0b0 [1.9.x] Fixed Sphinx highlight warnings in docs.
Backport of 9c43d8252a926f72be5a279186b42848501819b8 from master
2016-01-25 12:04:55 -05:00
Tim Graham
41e059de7c [1.9.x] Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.
Backport of b0b45f9a8373f47e96ef6c22d254c984d3b6b3c0 from master
2016-01-25 06:52:44 -05:00
Elif T. Kus
5dceb1f078 [1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
2016-01-22 12:18:24 -05:00
pp
1cbc556bce [1.9.x] Added missing period to "etc.".
Backport of b34ff66e5bae3760273255fa5b2525eb21a5eb63 from master
2016-01-11 18:05:56 -05:00
bmsleight
577ea02977 [1.9.x] Fixed a typo in a modelforms docs example.
Backport of 8715205c5c0e49b21b5bbea35d904713ee188a71 from master
2016-01-09 13:04:51 -05:00
Jarek Glowacki
6e5d77dc05 [1.9.x] Added missing step to transitioning squashed migrations.
Backport of d8b651a544696e586bcc941335420ff9b7bf4fb5 from master
2016-01-04 10:38:43 -05:00
Tim Graham
5855bee1d1 [1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
2015-12-31 14:31:59 -05:00
Varun Sharma
fa21766230 [1.9.x] Fixed #25959 -- Updated logging example to use the django logger.
Backport of 483e0091e3891dc4ed898ea0dbf6923c166f0674 from master
2015-12-24 10:07:56 -05:00
Chris Lamb
47f3ee2625 [1.9.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:56:54 -05:00
Alasdair Nicol
326efed9ee [1.9.x] Refs #25963 -- Fixed typo in docs/topics/http/shortcuts.txt
Backport of 28d05a4c195e2e01cdbc1435d58b44ece5ccc170 from master
2015-12-23 18:36:07 -05:00
Alasdair Nicol
8eeb01a702 [1.9.x] Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs.
Backport of 32c7d93e5f0638c5a1ec8e2525c967be444fcef1 from master
2015-12-23 18:31:20 -05:00
Tim Graham
d162b0bcd8 [1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
Backport of 4d83b0163e15f8352fd17fa121e929842ff2b686 from master
2015-12-23 10:50:55 -05:00
Tim Graham
c0d8d5f98c [1.9.x] Fixed #25948 -- Added guidelines for SimpleTestCase.assertRaisesMessage() usage.
Backport of 77f50c9cfc8b33bf86394816cde183e656ba28cd from master
2015-12-23 07:31:14 -05:00
Mads Jensen
3bcd42d343 [1.9.x] Fixed #25936 -- Added showmigrations to migrations topic guide.
Backport of 394e59099c89eb82cf4a37c78ab5f329b76ce0cc from master
2015-12-22 13:17:27 -05:00
Tim Graham
36d0aa4303 [1.9.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation. 2015-12-22 13:06:22 -05:00
Alex Gaynor
40fd217437 [1.9.x] Removed a misleading comment about HTTPS.
For all practical purposes, there are no common cases for which a
website cannot be deployed with HTTPS.

Backport of d7580e286ac9c48e410d59281720205d6f5dda10 from master
2015-12-21 06:52:49 -05:00
Tim Graham
ea63cf8d42 [1.9.x] Refs #10060 -- Corrected description of multiple annotations bug.
Backport of 3d2236773ba88e330841b8c72183b0e978e10909 from master
2015-12-15 08:04:43 -05:00
Tim Graham
9f3ce6d987 [1.9.x] Refs #25899 -- Improved visibility of TEST database settings in testing docs.
Backport of 738bda8a6feea95d07b73246365e75b3d25e3466 from master
2015-12-11 08:07:43 -05:00