Commit graph

2126 commits

Author SHA1 Message Date
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
Alex Morozov
361038ee03 [1.9.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
Backport of 5abed864ee from master
2015-11-17 10:18:03 -05:00
Agnieszka Lasyk
b3389956c9 [1.9.x] Fixed #25755 -- Unified spelling of "website".
Backport of 1f8dad6915 from master
2015-11-16 06:44:46 -05:00
Anderson Resende
0ec328509c [1.9.x] Fixed #25744 -- Corrected reference to User object in auth docs.
Backport of ce4914eab4 from master
2015-11-12 19:23:50 -05:00
Bryan Marty
8e23527075 [1.9.x] Fixed #25169 -- Documented stacking of permission_required and login_required.
Backport of 9788625277 from master
2015-11-12 14:25:29 -05:00
Tim Graham
16865782d7 [1.9.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
Thanks Josh, Anssi, and Carl for reviews and advice.

Backport of 91a431f48c from master
2015-11-12 13:22:13 -05:00
Tim Graham
f10226232f [1.9.x] Fixed #25727 -- Added a doc link to cached_property.
Backport of e0de82c9b2 from master
2015-11-10 13:29:00 -05:00
Thijs van Dien
f5e1d72de2 [1.9.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 1679472165 from master
2015-11-07 21:59:59 +01:00
Tim Graham
1eb2ff3ff7 [1.9.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
Backport of 81006b9657 from master
2015-11-07 20:33:49 +01:00
Attila Tovt
a98d08f9f8 [1.9.x] Fixed #25681 -- Added 'default' to DATABASES example.
Backport of ac750dbbc0 from master
2015-11-07 11:10:00 +01:00
japrogramer
ed3e066cc1 [1.9.x] Fixed typo in docs/topics/auth/default.txt.
Backport of a10cbbbc17 from master
2015-11-03 08:57:03 +00:00
Tomasz Anielak
f1859d9100 [1.9.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8d from master
2015-10-31 08:53:45 -04:00
Bryan Marty
a09a889a57 [1.9.x] Fixed #24212 -- Added example pylibmc CACHES configuration.
Backport of ad67fcdf51 from master
2015-10-30 13:45:47 -04:00
bee_keeper
7b03595489 [1.9.x] Added class-based view example to RequestFactory example.
Backport of a17216646a from master
2015-10-30 13:14:20 -04:00
Bryan Marty
44f177b5cd [1.9.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 455034d4df from master
2015-10-28 15:46:45 -04:00
Tim Graham
411b8da362 [1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927 from master
2015-10-28 13:51:22 -04:00
Jacek Bzdak
488538e55e [1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3 from master
2015-10-23 15:24:14 -04:00
薛丞宏
2eab4acb3e [1.9.x] Clarified that the test client response content attribute is bytes.
Backport of 484edc81c1 from master
2015-10-23 14:27:20 -04:00
Benjamin Wohlwend
c367abb11b [1.9.x] Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
Backport of 2b9eed41fa from master
2015-10-22 14:11:22 -04:00
Tim Graham
02f3084f4e [1.9.x] Fixed #25584 -- Documented a pip error when installing Django 1.9.
Backport of ee66d8dd7d from master
2015-10-22 10:09:04 -04:00
Tim Graham
2c11002fec [1.9.x] Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
Backport of 25f287f6b2 from master
2015-10-07 19:36:57 -04:00
Claude Paroz
c894f215e2 [1.9.x] Added some function links in translation docs
Backport of 9a6fc9606c from master.
2015-10-07 17:31:28 +02:00
John Moses
6a582d35f2 [1.9.x] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
Backport of ac09d22f79 from master
2015-10-02 13:00:48 -04:00
David Sanders
d6632f2111 [1.9.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
Backport of 5c6316dc34 from master
2015-09-30 08:44:37 -04:00
David Sanders
60fe6efe50 [1.9.x] Improved "“standalone” Django usage" example.
Backport of ae9f9dc37f from master
2015-09-29 15:09:28 -04:00
Tim Graham
e21c6f34de [1.9.x] Fixed #25376 -- Required virtualenv in installation instructions.
Thanks Anjul Tyagi for some of the draft text.

Backport of a523d94b45 from master
2015-09-29 14:33:50 -04:00
Tim Graham
0094fb6be8 [1.9.x] Documented auth's login/logout function parameters.
Backport of c14b6b52ff from master
2015-09-28 14:12:32 -04:00
Tim Graham
260e9f15fe [1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
Backport of de99f558d8 from master
2015-09-25 15:36:05 -04:00
Tim Graham
f2f4f1cfff [1.9.x] Fixed #25451 -- Added advice about organizing tests.
Backport of 53e89ce2e7 from master
2015-09-25 07:15:50 -04:00
Tim Graham
ca2c5508be [1.9.x] Fixed #25455 -- Optimized dictfetchall() example.
Thanks aklim007 for the suggestion.

Backport of 361f60479d from master
2015-09-24 13:19:17 -04:00
Don Kirkby
dcd7358afd Fixed typo in docs/topics/db/examples/one_to_one.txt 2015-09-23 13:31:14 -04:00
Tim Graham
b1f6046066 Refs #25373 -- Doc'd logging of exceptions during {% include %} rendering. 2015-09-23 11:48:09 -04:00