1
0
mirror of https://github.com/django/django.git synced 2025-03-14 11:20:46 +00:00

7269 Commits

Author SHA1 Message Date
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
Maxime Lorant
4c9d79e116 [1.7.x] Fixed formatting in docs/ref/templates/builtins.txt
Backport of 6023312dde022d31d44373e8834431456095dc7c from master
2015-04-14 07:06:12 -04:00
Afriza N. Arief
dce97cb740 [1.7.x] Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt
Backport of b295fcd19c00706d7f60db73741c1311ee141409 from master
2015-04-13 07:51:12 -04:00
Tim Graham
51e5e2efc6 [1.7.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.

Backport of 3acefcefeb5283473ac35d7e842027814d57d574 from master
2015-04-08 07:30:32 -04:00
Marios Zindilis
080e5dde54 [1.7.x] Fixed typo in docs/intro/tutorial02.txt
Backport of 7a7c797234aede7603e92a0a90b9f4c4a8b92a0c from master
2015-04-07 07:41:52 -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
Tim Graham
69f00f0091 [1.7.x] Added link to download page to find supported versions.
Backport of 8c4827ec1d44fee05db189766174c115795a495e from master
2015-04-04 08:00:33 -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
Krzysztof Gogolewski
b9cbf750d6 [1.7.x] Fixed typo in docs/internals/deprecation.txt 2015-04-01 19:02:26 -04:00
Joost Rijneveld
cb756f5dec [1.7.x] Fixed typo in docs/ref/templates/builtins.txt
Backport of 48ddc66219deaac2aa5fa3d2cb0f420404d6b8ec from master
2015-03-31 21:22:02 -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