7279 Commits

Author SHA1 Message Date
Tim Graham
2d2eeff3b1 [1.7.x] Refs #25144 -- Revised deprecation timeline: migrations won't become compulsory.
Backport of e133b55943f26e87cff5b22215a776a9ce3fc6f3 from master
2015-09-04 09:59:49 -04:00
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
95af894668 [1.7.x] Added stub release notes for security releases. 2015-08-18 08:24:46 -04:00
Tim Graham
16b1be70ab [1.7.x] Fixed typo in docs/ref/contrib/gis/geoquerysets.txt
Backport of 56ed80ac2a7dac6dc26754f7fe95941e8a6f124e from master
2015-08-11 09:33:50 -04:00
Tim Graham
64a118c1eb [1.7.x] Fixed #25224 -- Fixed typo in docs/ref/contrib/flatpages.txt
Backport of 28cb272a7279e6dfc4d5c53838ebf7343c3e66b5 from master
2015-08-04 14:52:30 -04:00
Tim Graham
0f4f75a308 [1.7.x] Fixed #25199 -- Fixed dead link to HTMLdoc.
Backport of e176de25127a2750ea1c6a705b2c0983b5782b41 from master
2015-07-30 13:26:40 -04:00
jorgecarleitao
b492921cf8 [1.7.x] Fixed typo in docs/ref/middleware.txt
Backport of 7c642cafbb9e9ab1ba3ee7bb3d8fe1c0a58e06e8 from master
2015-07-27 07:18:28 -04:00
Ali Vakilzade
50ca151276 [1.7.x] Fixed signature of ModelAdmin.get_paginator() in docs.
Backport of ecf4ed246ae192f8d381b799b921a892fd7afa85 from master
2015-07-20 08:08:32 -04:00
Tim Graham
eba3ec90ea [1.7.x] Added 1.4.22 release notes.
Backport of 427a49f9e996d5d7712472ce287b80857086ee02 from master
2015-07-14 07:28:04 -04:00
Tim Graham
ae49b4d994 [1.7.x] Prevented newlines from being accepted in some validators.
This is a security fix; disclosure to follow shortly.

Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-08 07:35:43 -04:00
Carl Meyer
1828f4341e [1.7.x] Fixed #19324 -- Avoided creating a session record when loading the session.
The session record is now only created if/when the session is modified. This
prevents a potential DoS via creation of many empty session records.

This is a security fix; disclosure to follow shortly.
2015-07-08 07:35:39 -04:00
Tim Graham
9eda28ac48 [1.7.x] Added security release note stubs. 2015-07-08 07:35:17 -04:00
Luke Plant
f23656cd1a [1.7.x] Corrected example code for get_query_set upgrade in 1.6 release notes
The conditional setting of `get_query_set` is required for correct behaviour
if running Django 1.8. The full gory details are here:

http://lukeplant.me.uk/blog/posts/handling-django%27s-get_query_set-rename-is-hard/

Backport of f87e552d9842ff9591a9c51ebdb5f96e4dd54b00 from master
2015-07-08 11:07:52 +01: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
Tim Graham
207da07d59 [1.7.x] Fixed #24903 -- Fixed assertRaisesMessage on Python 2.7.10.
A regression found in in Python 2.7.10 rc1 wasn't reverted for the final
release: https://bugs.python.org/issue24134

Backport of two commits from master:
* c2bc1cefdcbbf074408f4a4cace88b315cf9d652
* e89c3a46035e9fe17c373a6c9cd63b9fd631d596
2015-06-09 16:14:49 -04:00
argaen
7ae53e7480 [1.7.x] Fixed import in docs/ref/contrib/syndication.txt
Backport of 1725d009918e7d37390d5abd34034f3defca5fc3 from master
2015-06-09 12:38:10 -04:00
Andriy Sokolovskiy
927d90ee1e [1.7.x] Fixed #24817 -- Prevented loss of null info in MySQL field renaming.
Backport of 80ad5472ce4b6ba6e94227422d0727371e97cdf0 from master
2015-05-28 10:26:27 -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
latyas(懒)
198ad25a03 [1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of 8b106cfaa07dc04ad27a1a90c1eb03af80111695 from master
2015-05-20 09:03:33 -04:00
Tim Graham
3908c3cb71 Reverted "[1.7.x] Made minor edits to docs/intro/tutorial01.text"
This reverts commit ba4237c3b31906aa7cf1c2ec02751b878c962c53.

Claude asked that these fixes not be backported as they affect translations.
2015-05-19 13:00:45 -04:00
I am Clinton
ba4237c3b3 [1.7.x] Made minor edits to docs/intro/tutorial01.text
Backport of f3b51f51931d42cbba8a18e34d0aaee1b2f085bc from master
2015-05-19 12:33:41 -04:00
I am Clinton
4dc85b5936 [1.7.x] Fixed typos in docs/ref/request-response.txt
Backport of e4f0e5a981e1965bd6b6b5d51f87499fa5f780b3 from master
2015-05-18 09:46:27 -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
Sławomir Ehlert
edeb257084 [1.7.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f2f7333b2a9fd6b318f520278c39293 from master
2015-05-06 09:59:28 -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
Tim Graham
57a0e7dda9 [1.7.x] Added dates to release notes.
Backport of 06aaed41a4a9b8da8aca5854a45e457c0b72210e from master
2015-05-01 16:25:20 -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
Tim Graham
f6ecb5407e [1.7.x] Fixed #24704 -- Clarified system check interaction with runserver.
Backport of 0f2e82b9ec9797147945a6f9a402b5ae0fb1d9f4 from master
2015-04-25 15:06:49 -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
Richard Eames
bcd7f396f9 [1.7.x] Fixed #24613 -- Added example to QuerySet.defer() documentation
Backport of dd99f57710bb4930561a6c049f54719af80850ec from master
2015-04-22 19:19:33 -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
Tim Graham
32871fc215 [1.7.x] Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.

Backport of e15c55e2bf5eb2f1073d18b4ee6fdce2369820f2 from master
2015-04-20 10:50:04 -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
Tim Graham
84142946c0 [1.7.x] Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report.

Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master
2015-04-17 07:55:03 -04:00
Claude Paroz
ada0845dda [1.7.x] Fixed #24595 -- Prevented loss of null info in MySQL field alteration
Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
Backport of 02260ea3f61b from master.
2015-04-17 10:48:13 +02:00
Anssi Kääriäinen
c3a9820251 [1.7.x] Fixed #24605 -- Fixed incorrect reference to alias in subquery.
Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.

Backport of 355c5edd9390caad5725375abca03460805f663b from master
2015-04-16 09:32:23 -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
Abdulrahman Alotaibi
7002539a4e [1.7.x] Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
Backport of 62261ddd0f2d5f2e6bcce013f2913cdb1b1f0be0 from master
2015-04-16 07:39:48 -04:00
Simon Charette
ad63e70565 [1.7.x] Fixed typos in the 1.7.7 release notes.
Backport of 28e89783254ac0899a26eee324555a9033ccbe9a from master
2015-04-14 22:15:33 -04:00
Markus Holtermann
a5d79832fe [1.7.x] Fixed title in 1.7.8 release notes
Refs d74903e4fb381576e5cb0cbfbd19555bcd255752

Backport of 825bb0ab08cec353edcd2b9aea651bfe9392ef97 from master
2015-04-14 19:29:04 +02:00
peterfarrell
d74903e4fb [1.7.x] Fixed #24637 -- Fixed database introspection with SQLite 3.8.9.
Backport of f8e8853b51476af1cc75a229dadc990c9ccf45ec from master
2015-04-14 11:30:38 -04:00
Tim Graham
1b21666bd9 [1.7.x] Fixed typos in docs/ref/templates/api.txt
Backport of c612786cf15e2e1d00162ed4e335e83b75e6c978 from master
2015-04-14 07:58:52 -04:00