2160 Commits

Author SHA1 Message Date
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
Gavin Wahl
55fa19e4a6 [1.9.x] Fixed user_passes_test() signature in docs.
Backport of ec708803f70d51dda21845799de8c62d02611808 from master
2015-12-08 15:57:38 -05:00
Tim Graham
abeb50db5d [1.9.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:11 -05:00
Tim Graham
35b5e11a98 [1.9.x] Fixed #25860 -- Documented a transaction leak possiblity in TestCase.
Thanks Jonas Haag for report and review.

Backport of a5619f7ed3bc2ca07b428fa0abfaaff088378f48 from master
2015-12-07 18:33:51 -05:00
Tim Graham
6aaf6728b5 [1.9.x] Refs #25584 -- Corrected note about source of SyntaxErrors when installing Django 1.9.
Backport of f5af68ba68c1041d785e5582529134d54895e7c6 from master
2015-12-05 16:33:10 -05:00
Florian Apolloner
274670a33d [1.9.x] Removed deprecated usage of url tag from auth docs.
Backport of 105028eec64064c11dfd3d5415317ba1fab81214 from master
2015-12-05 15:52:31 -05:00
Josh Soref
8897f4b0df [1.9.x] Fixed many spelling mistakes in code, comments, and docs.
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
2015-12-03 12:49:03 -05:00
Eliezer Kanal
cc9c2b1ef3 [1.9.x] Updated link to 1000 common passwords.
xato.net is dead; replaced with link to archive.org.

Backport of d3b488f5bd17b4cf662613e0d3d62f9675ff3cdc from master
2015-12-02 12:57:29 -05:00
Jon Dufresne
bf76cf07e0 [1.9.x] Fixed #25778 -- Updated docs links to use https when available.
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-12-01 08:03:16 -05:00
Gagaro
08e1c79f7a [1.9.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:41 -05:00