1
0
mirror of https://github.com/django/django.git synced 2025-04-23 16:54:37 +00:00

11943 Commits

Author SHA1 Message Date
Alex Gaynor
8ab2aceb65 [1.4.X] Fixed #18099 -- corrected a typo in the initial data docs. Thanks to Bradley Ayers for the patch.
Backport of f5a9e5e9 from master
2012-12-15 16:42:19 -05:00
Florian Apolloner
f2530dcb17 [1.4.X] Fixed a test failure in the comment tests.
Backport of 1eb0da1c5ba3096f218d1df13d02a2b8e1ac7a36 from master.
2012-12-10 23:37:12 +01:00
James Bennett
1f0af3c529 [1.4.x] Bump version numbers for security release. 1.4.3 2012-12-10 15:45:04 -06:00
Florian Apolloner
319627c184 [1.4.X] Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:14:16 +01:00
Florian Apolloner
b2ae0a63ae [1.4.X] Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:14:16 +01:00
Julien Phalip
8c9a8fd5c4 [1.4.x] Fixed the admin_filters tests for Postgres.
Backport of c196e01100b2
2012-12-04 10:41:22 -08:00
Sebastián Magrí
c72172244e [1.4.x] Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string.
Backport of 88e17156393b
2012-12-03 20:58:54 -08:00
Anssi Kääriäinen
3e4058be9f [1.4.x] Fixed ordering-related failure in m2m_through_regress tests
Backpatch of dc569c880143db07e01b3293d698ad8fe4a0136f
2012-11-24 16:10:16 +02:00
Aymeric Augustin
046300c43b [1.4.x] Restored Python 2.5 compatibility in m2m_through_regress tests.
Refs #18823.
2012-11-24 09:49:30 +01:00
Anssi Kääriäinen
c7dcb1d808 [1.4.x] Fixed SQLite's collapsing of same-valued instances in bulk_create
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem
was that there should have been UNION ALL instead of UNION.

Refs #19351

Backpatch of a27582484cf814554907d2d1ad077852de36963f
2012-11-24 01:28:25 +02:00
Tim Graham
9ee9a7265a [1.4.X] Fixed #19317 - Added an image for warning blocks in the docs
Thanks tome for the suggestion and patch.

Backport of 3587991ba8 from master
2012-11-22 08:50:50 -05:00
Preston Holmes
19710955e4 [1.4.x] Added examples of using startproject/app with URLs
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:08:31 -08:00
Luke Plant
9003d6fece [1.4.x] Corrected docs about default value of MESSAGE_STORAGE
Backport of a32f30c79c1be8e088917bced0f97760a92045ef from master
2012-11-20 23:18:26 +00:00
Tim Graham
06c14a63a2 [1.4.X] Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
Backport of 04775b4598 from master
2012-11-17 17:55:28 -05:00
Anssi Kääriäinen
25e041f270 [1.4.x] Fixed #19058 -- Fixed Oracle GIS crash
The problem is the same as in #10888 which was reintroduced when
bulk_insert was added. Thanks to Jani Tiainen for report, patch and
also testing the final patch on Oracle GIS.

Backpatch of 92d7f541da8b59520c833b19fbba52d3ecef2428
2012-11-15 16:22:28 +02:00
Nicolas Ippolito
fdb855e7b2 [1.4.X] Typo in comments doc
Backport of 17b14d4819 from master
2012-11-13 05:25:55 -05:00
Aymeric Augustin
f8c005b4ec Fixed #19225 -- Typo in shortcuts docs.
Thanks SunPowered for the report.
2012-11-02 09:30:42 +01:00
Aymeric Augustin
2733253633 [1.4.x] Fixed #19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.

Backport of bc00075 from master.
2012-10-29 21:40:32 +01:00
Claude Paroz
ad2d57a2cc [1.4.x] Fixed #19172 -- Isolated poisoned_http_host tests from 500 handlers
Thanks bernardofontes for the report.

Backport of b774c5993 from master.
2012-10-29 17:30:51 +01:00
Anssi Kääriäinen
37c87b785d [1.4.x] Fixed #18823 -- Ensured m2m.clear() works when using through+to_field
There was a potential data-loss issue involved -- when clearing
instance's m2m assignments it was possible some other instance's
m2m data was deleted instead.

This commit also improved None handling for to_field cases.

Backpatch of 611c4d6f1c24763e5e6e331a5dcf9b610288aaa8
2012-10-28 17:38:26 +02:00
Tim Graham
baf1f1dcde [1.4.X] Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion.
Backport of da958eb209 from master
2012-10-24 17:50:37 -04:00
Carl Meyer
ce168bb899 [1.4.x] Fix an HTML-parser test that's failed in Python 2.6.8 since 5c79dd58.
The problem description in #18239 asserted that
http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on
http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the
fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our
patched HTMLParser subclass in all Python 2.6 versions.

Backport of fcec904e4f from master. Fixes #19148.
2012-10-23 18:57:59 +02:00
Preston Holmes
e86e4ce0bd Added 1.4.2 release notes 2012-10-21 07:50:30 -07:00
Tim Graham
6c1c490f64 [1.4.X] Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion.
Backport of 2f722d9728 from master
2012-10-20 15:23:06 -04:00
Tim Graham
13bbe9161d [1.4.x] Fixed arguments for get_inline_instances; refs #17006. 2012-10-20 09:57:51 -04:00
Tim Graham
e7685b87c1 [1.4.X] Fixed #17006 - Documented ModelAdmin get_form() and get_formsets()
Backport of eed4faf16f from master
2012-10-20 08:42:24 -04:00
Tim Graham
700717db1f [1.4.X] Fixed #17388 - Noted in the custom model field docs that field methods need to handle None if the field may be null.
Backport of 4cef9a09f9 from master
2012-10-19 17:54:38 -04:00
Tim Graham
fd90a90633 [1.4.X] Fixed #18046 - Documented that an index is created by default for ForeignKeys; thanks jbauer for the suggestion.
Backport of db598dd8a0 from master
2012-10-18 16:59:23 -04:00
Preston Holmes
773a29295a Added missed poisoned host header test changes 2012-10-18 11:18:25 -07:00
James Bennett
8c46ead92b [1.4.x] Bump ALL the version numbers. 1.4.2 2012-10-17 17:17:37 -05:00
James Bennett
0f54fed0b6 [1.4.x] Bump version numbers for security release. 2012-10-17 17:15:49 -05:00
Preston Holmes
58806ce153 Fixed an error in the set cookie documentation 2012-10-17 14:57:58 -07:00
Preston Holmes
92d3430f12 Fixed a security issue related to password resets
Full disclosure and new release are forthcoming

backport from master
2012-10-17 14:40:41 -07:00
Tim Graham
73991b0b32 [1.4.X] Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware.
Backport of 3e0857041b from master
2012-10-17 15:48:47 -04:00
Tim Graham
33d11463a0 [1.4.x] Fixed a couple links that didn't backport cleanly 2012-10-16 20:53:53 -04:00
Tim Graham
6ebb6f9188 [1.4.X] Fixed #18548 - Clarified note regarding reusing model instances when form validation fails.
Backport of fd02bcff4a from master
2012-10-16 20:47:07 -04:00
Tim Graham
81020708ea [1.4.X] Fixed #10936 - Tempered recommendation of SQLite - thanks Karen Tracey for the feedback.
Backport of 9190d89829 from master
2012-10-15 19:56:40 -04:00
Julien Phalip
cc0478606a [1.4.x] Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} accept literals wrapped in single quotes. Thanks to lanyjie for the report. 2012-10-13 10:51:53 -07:00
Claude Paroz
4cdc416d03 [1.4.x] Fixed #19119 -- Corrected default date input formats in docs
Thanks henrik@aisti.fi for the report.
Backport of 10dc4797ea from master.
2012-10-13 11:05:22 +02:00
Tim Graham
d2891d1c07 [1.4.x] Fixed #18996 - Clarified overriden model methods not called on bulk operations
Backport of 443999a1eeea70e4deebcf31f8f845696be62c3d from master.
2012-10-12 19:46:47 -04:00
Tim Graham
e2dea54efe [1.4.X] Fixed #18256 - Added a potential pitfall when upgrading to MySQL 5.5.5
Backport of c870cb48cd from master
2012-10-12 19:17:50 -04:00
Tim Graham
8139a7990a [1.4.X] Fixed #10936 - Noted that using SQLite for development is a good idea
Backport of 470deb5cbb from master
2012-10-11 20:02:40 -04:00
Tim Graham
a1d21c0877 [1.4.X] Fixed #16588 - Warned about field names that conflict with the model API
Backport of dd0cbc6bdc from master
2012-10-11 18:05:49 -04:00
Tim Graham
cf17d5e267 [1.4.X] Fixed #14165 - Documented that TransactionMiddleware only applies to the default database.
Backport of 938ee7cd36 from master
2012-10-11 17:49:40 -04:00
Tim Graham
3ac70a5907 [1.4.X] Fixed #16817 - Added a guide of code coverage to contributing docs.
Thanks Pedro Lima for the draft patch.

Backport of 06f5da3d78 from master
2012-10-11 06:14:24 -04:00
Tim Graham
1be0515fe9 [1.4.x] Fixed #4501 - Documented how to use coverage.py with Django tests.
Thanks krzysiumed for the draft patch.

Backport of 7ef2781ca0ce48872e21dce2f322c9e4106d1cfd from master.
2012-10-10 20:06:52 -04:00
Tim Graham
c06b724a00 [1.4.X] Fixed #17435 - Clarified that QuerySet.update returns the number of rows matched
Backport of 6d46c740d8 from master
2012-10-06 07:07:29 -04:00
Claude Paroz
0636c9583f Fixed #19072 -- Corrected an external file path in GeoIP docs
Thanks Flavio Curella for the report and the initial patch.
2012-10-05 23:18:17 +02:00
Tim Graham
a35d7fd1e1 [1.4.X] Fixed #19051 - Fixed Selenium tearDownClass method; thanks glarrain for the report.
Backport of a1a5c0854f from master
2012-10-04 07:46:53 -04:00
Tim Graham
8868a067e0 [1.4.X] Fixed #19006 - Quoted filenames in Content-Disposition header.
Backport of 234ca6c61d from master
2012-10-03 17:47:48 -04:00