Commit graph

2207 commits

Author SHA1 Message Date
Tim Graham
bd9dc810eb [1.9.x] Removed docs of deprecated SimpleTestCase warnings behavior.
Removed in Django 1.7 (4f6be9a0c4).

Backport of 6637cd0ef2 from master
2016-02-24 09:59:16 -05:00
Markus Holtermann
5ca1d0a654 [1.9.x] Fixed spelling error
Backport of b14470c7b7 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 5a541e2e6c 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 de7edc005f 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 f0425c7260 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 a6f856df52 from master
2016-02-12 13:45:07 -05:00
Markus Holtermann
765f6d8041 [1.9.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1a 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 02430ef19d from master
2016-02-11 18:54:27 -05:00
Becka R
ec16503f2b [1.9.x] Clarified "database column type" explanation.
Backport of cf48962b36 from master
2016-02-11 18:27:14 -05:00
Tim Graham
f7332b3ec5 [1.9.x] Updated instructions for gettext on Windows.
Backport of 1d86d4c72b 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 f2b45ddd99 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 1e9150443e 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 0fb1185538 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 a6ef025dfb 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 e519aab43a 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 8ce8beb3f2 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 9a5c94588e 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 31817dd2eb 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 8e6a08e937 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 abc0777b63 from master
2016-01-25 12:44:14 -05:00
Tim Graham
20b217b0b0 [1.9.x] Fixed Sphinx highlight warnings in docs.
Backport of 9c43d8252a 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 b0b45f9a83 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 bca9faae95 from master
2016-01-22 12:18:24 -05:00
pp
1cbc556bce [1.9.x] Added missing period to "etc.".
Backport of b34ff66e5b 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 8715205c5c 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 d8b651a544 from master
2016-01-04 10:38:43 -05:00
Tim Graham
5855bee1d1 [1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e9066 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 483e0091e3 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 77b8d8cb6d 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 28d05a4c19 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 32c7d93e5f 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 4d83b0163e 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 77f50c9cfc 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 394e59099c 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 d7580e286a 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 3d2236773b 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 738bda8a6f 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 ec708803f7 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 166e0490d3 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 a5619f7ed3 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 f5af68ba68 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 105028eec6 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 93452a70e8 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 d3b488f5bd 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 7aabd62380 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 34d88944f4 from master
2015-11-28 08:44:41 -05:00
James Beith
75ec064808 [1.9.x] Fixed a typo in the managers docs.
Backport of e03798a4ae from master
2015-11-27 13:53:49 -05:00
Simon Charette
b4a1d545db [1.9.x] Fixed #25807 -- Instructed the migration writer about lazy objects.
Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation
and Tim for the review.

Backport of cc2ca9c550 from master
2015-11-26 11:21:35 -05:00
Neal Todd
e5430510dd [1.9.x] De-emphasized use of NullHandler in logging docs.
NullHandler removed in 1.9; unused since Django 1.5.

Backport of b3acdeee50 from master
2015-11-18 09:56:30 -05:00