1818 Commits

Author SHA1 Message Date
Markus Holtermann
6c61cea83a [1.7.x] Fixed style issues in testing docs
Backport of f33607ce0b744794f6ceafa1dddffbcb32e90978 from master
2015-08-19 21:57:57 +10:00
Tim Graham
2f5485346e [1.7.x] Fixed DoS possiblity in contrib.auth.views.logout()
Refs #20936 -- When logging out/ending a session, don't create a new, empty session.

Previously, when logging out, the existing session was overwritten by a
new sessionid instead of deleting the session altogether.

This behavior added overhead by creating a new session record in
whichever backend was in use: db, cache, etc.

This extra session is unnecessary at the time since no session data is
meant to be preserved when explicitly logging out.

Backport of 393c0e24223c701edeb8ce7dc9d0f852f0c081ad,
088579638b160f3716dc81d194be70c72743593f, and
2dee853ed4def42b7ef1b3b472b395055543cc00 from master

Thanks Florian Apolloner and Carl Meyer for review.

This is a security fix.
2015-08-18 08:24:51 -04:00
Tim Graham
1efda84a95 [1.7.x] Corrected Python version support info in docs/topics/install.txt 2015-06-17 11:30:43 -04:00
I am Clinton
8bb369ef63 [1.7.x] Fixed mistakes in docs/topics/forms/formsets.txt examples.
Backport of 9c8a2ab81db1fa999862034d9e8e9e1d091a72e5 from master
2015-05-22 11:30:13 -04:00
Charles Dee Rice
5dee28030c [1.7.x] Fixed #24789 -- Fixed wrong positional args order in doc example
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
​https://docs.djangoproject.com/en/1.8/ref/signals/#post-save

Backport of 4f3c44424187de20d7f75fdde6624b9f683a9cf2 from master.
2015-05-13 10:29:54 +02:00
I am Clinton
cb2fcabdd1 [1.7.x] Light edits to docs/topics/forms/index.txt
Backport of ec74dba2ab3f04fb828c0b926b49f63ec8486dd8 from master
2015-05-12 09:17:26 -04:00
Tim Graham
d92eaebf61 [1.7.x] Fixed #24780 -- Removed outdated discussion of signals and custom users.
Backport of 8e86d9d3dfd68bebbfd1dd5006e0c25696855269 from master
2015-05-11 09:10:47 -04:00
Simon Baechler
d42cbde0c6 [1.7.x] Refs #21357 -- Added a working session example to the docs. 2015-05-05 12:35:13 -04:00
José Padilla
285371bd76 [1.7.x] Fixed typo in translation import statement
Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master
2015-05-02 19:41:52 -04:00
Dmitry Medvinsky
7ff6825377 [1.7.x] Added translation.override() context manager to docs.
Backport of cf34ee68f0d70cfbcba40524b5d1086ad94874e1 from master
2015-04-29 21:23:38 -04:00
Mounir
d99b9f4d23 [1.7.x] Fixed typo in docs/topics/i18n/translation.txt
Backport of 25b52d04f6eace3b702adf7c6ab68daf1867c7e3 from master
2015-04-28 12:53:58 -04:00
Nik Nyby
bb40d9820f [1.7.x] Added missing comma in LocMemCache example.
Backport of 9d6914da668d9a38537d4c29e3601f06dd830477 from master
2015-04-24 20:29:29 -04:00
Daniel Harding
0b7d737d9f [1.7.x] Updated startproject MIDDLEWARE_CLASSES in docs.
Backport of ad31bc0565914c4676bfb7c116c4be407a367be4 from master
2015-04-24 09:38:59 -04:00
Tim Graham
2dc82a8d27 [1.7.x] Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt
Backport of 1418f7530455abf3e6f743164ae15ee6b2566a3c from master
2015-04-22 09:31:47 -04:00
Simon Charette
a297af972f [1.7.x] Fixed #24674 -- Documented the correct NullBooleanField formfield.
Thanks to knbk for the report.

Backport of 37e23c606031d5b34197e196fb6e6fed0137bb37 from master
2015-04-20 15:20:29 -04:00
Anton
67bf6bb9f5 [1.7.x] Fixed typo in docs/topics/class-based-views/intro.txt
Backport of f5fbddf22f5e9b760e76ef35f104270026c60693 from master
2015-04-20 14:12:03 -04:00
Marco Santamaria
276f760eaa [1.7.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.
Backport of bae72bdd2aa93472617ed28fc3d5a01f0920ea6e from master
2015-04-20 09:19:11 -04:00
Daniel Lindsley
bcb536004a [1.7.x] Fixed #23984 -- Added Javascript i18n documentation
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.

Backport of 8ca9bc5ec326c0b01634dac264a9ba6f0857483e from master
2015-04-16 08:19:46 -04:00
Thomas Güttler
5f8016cdfe [1.7.x] Added admonition about reusable apps and AUTH_USER_PROFILE.
Backport of 566c9362363f4b65cc64a35f907c2d6c39d0289e from master
2015-04-06 19:50:27 -04:00
Sam Thursfield
abd625558b [1.7.x] Fixed #24556 -- Added reminder about HTTPS to passwords docs.
Backport of 1119063c69eb4fc091c212e59462f3ec3d5676a4 from master
2015-04-03 10:55:45 -04:00
Kostochko Dmitriy
db165cf348 [1.7.x] Fixed typo in docs/topics/cache.txt
Backport of d026eb63666a34382912cf68af75492fc583b9db from master
2015-03-31 21:16:29 -04:00
Jorge Barata González
18f11072b8 [1.7.x] Fixed #15590 -- Documented how the path of a FileField can be changed.
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.

Backport of 931a340f1feca05b7a9f95efb9a3ba62b93b37f9 from master
2015-03-30 10:39:18 -04:00
Christopher Luc
19ddf59b26 [1.7.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.

Backport of 8119876d4a533fbc2ba4d1c30eaddbcc28119488 from master
2015-03-29 23:40:45 +02:00
Tim Graham
7c7d29adbe [1.7.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28 08:59:53 -04:00
Tim Graham
be865fe62e [1.7.x] Fixed syntax highlighting in docs/topics/auth/default.txt
Backport of 3e132406e3a95b3fe54e75129013e10bf3e9e86a from master
2015-03-28 07:51:40 -04:00
SaeX
bd542cbff6 [1.7.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-28 07:41:00 -04:00
David Seddon
db4e160754 [1.7.x] Corrected typo in documentation
Backport of 0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 from master
2015-03-25 13:44:21 -04:00
Tim Graham
0121fb8148 [1.7.x] Fixed #24361 -- Clarified docs on reconfiguring logging.
Thanks Tuttle for the report and draft patch, and Carl Meyer for
help and review.

Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
2015-03-24 12:26:29 -04:00
Matt Seymour
388dc33f5b [1.7.x] Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
Backport of fca14cd3f27a01f7ba1fe32ea9587fa75b85713a from master
2015-03-24 10:30:33 -04:00
David Seddon
b46643a47e [1.7.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-20 17:52:05 -04:00
Claude Paroz
5cad259c12 [1.7.x] Fixed #23520 -- Explained that custom plural forms should be avoided
Thanks aruseni for the report.
Backport of 556eb67701 from master.
2015-03-20 20:47:04 +01:00
Floris den Hengst
08f38d19f8 [1.7.x] Fixed doc typos.
Backport of e42a720ba22a51c68d2316d425234a197eaff467 from master
2015-03-14 12:29:54 -04:00
Andrei Kulakov
9bb451aedb [1.7.x] Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
Backport of b089759d6025582f36fbea3c4be3855c50b82462 from master
2015-03-13 13:25:34 -04:00
Remco Kranenburg
96bbade674 [1.7.x] Refs #23559 -- warned about consequences of letting users edit User model in admin.
Backport of f6b09a7f85c3b67b2011553838b079788c413432 from master
2015-03-13 08:51:27 -04:00
Dan Fellin
3d55798e98 [1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
2015-03-11 19:58:18 -04:00
Psilo Cybin
6819cab5d6 [1.7.x] Fixed #24456 -- Added links to topics/forms/modelforms.txt.
Backport of 866e71140f9612e45087b8acafefa2e51ffc4a29 from master
2015-03-09 20:54:01 -04:00
Rik
8917684c73 [1.7.x] Fixed #21661 -- Expanded authentication views documentation
Backport of eb9b7abb833a6d317e355265552d47e0d8f24af8 from master.
2015-03-08 20:41:29 +01:00
Marten Kenbeek
7f2d60996c [1.7.x] Stressed authentication should be successful before logging in a user.
Backport of 8e744fa1507b6d425860c54e7673e603279367eb from master
2015-03-05 12:18:25 -05:00
Tim Graham
5ebe921a8e [1.7.x] Fixed #13015 -- Clarified language about model instances attached to forms.
Backport of a40a34a4b2d79dbf798df538c26222148d42b17c from master
2015-03-02 18:45:52 -05:00
Sean Wang
a3f7b034d7 [1.7.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
2015-02-22 09:38:54 -05:00
Tim Graham
d1dd71f1a7 [1.7.x] Added an import to docs/topics/testing/advanced.txt example.
Backport of 32b67b3fd1d252566f60cf38fe1459bb83de2ce2 from master
2015-02-17 13:54:01 -05:00
Tim Graham
fcaf2e135d [1.7.x] Fixed #24350 -- Freshened up database install topic section.
Backport of 35f0cae19de226d9d7771304fc8dd2619e644998 from master
2015-02-16 15:00:00 -05:00
Carl Meyer
a970c27730 [1.7.x] Fixed #23892 -- Clarified compatibility policy for migrations.
Backport of e35c70bef44805d47f6a4ae692be878184c4fe1f from master
2015-02-16 10:12:18 -05:00
Carl Meyer
86e9744593 [1.7.x] Fixed #24337 - Added stronger documentation warning about automatic fake-initial. 2015-02-13 11:47:35 -07:00
Thomas Güttler
5697a4c9cf [1.7.x] Clarified timeout=0 in cache docs.
Backport of e519ee1d352e0e36fcb8edc9d33ec2845f663d3a from master
2015-02-12 10:33:02 -05:00
Tim Graham
2401ef8682 [1.7.x] Demoted "Installing a distribution-specific package" in install notes.
Backport of 281fc03474ac18c8281ed4cf289128c87bda2030 from master
2015-02-03 16:38:09 -05:00
Tim Graham
e775200e05 [1.7.x] Simplified a versionchanged note for LiveServerTestCase.
Backport of 6d0538bd8c38e83a605c987a40081149b254b802 from stable/1.7.x
2015-02-01 21:07:38 -05:00
Andrei Kulakov
341a20ff6c [1.7.x] Updated recommendation for testing keyword arg in custom fields.
Backport of dbabf43920bfd99f0e720c7c20228c17128a2af8 from master
2015-01-30 08:30:07 -05:00
Rick Hutcheson
be0bc9a9e7 [1.7.x] Fixed a typo in the test responses docs.
Backport of 996292d6498d25c6b3e84435e82edeff5aaa0257 from master
2015-01-16 18:24:48 -05:00
Keryn Knight
bd08cfca6f [1.7.x] Fixed #24143 -- Encouraged use of Http404 messages for debugging.
Backport of 726a9550db5129badc1c44809b0bed728fa1ad90 from master
2015-01-16 09:42:03 -05:00