Commit Graph

13530 Commits

Author SHA1 Message Date
Florian Apolloner deb205b8ce [1.5.X] Fixed an order dependant test failure.
Backport of 7e97f4f510 from master.
2012-12-11 16:26:53 +01:00
Florian Apolloner 919fbe08c9 [1.5.X] Fixed a test failure in the comment tests.
Backport of 1eb0da1c5b from master.
2012-12-10 23:36:17 +01:00
James Bennett 82d4786544 [1.5.x] Bump version numbers for security release. 2012-12-10 15:49:48 -06:00
Florian Apolloner 77b06e4151 [1.5.X] Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Florian Apolloner fce1fa0f7f [1.5.X] Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:13:28 +01:00
Claude Paroz 984cf8417b [1.5.x] Amended an SQL test fixture to not include an id value
Some backends might need special handling for auto-increment values.
This was introduced in 5fa5621f57. Thanks Michael Manfre for spotting
the issue.
Backport of 0cdfa76e68 from master.
2012-12-10 17:50:37 +01:00
Aymeric Augustin d6bad2e9ea [1.5.x] Fixed #19392 -- Improved error for old-style url tags with dashes.
Thanks dloewenherz for the report.

Backport of 4951932 from master.
2012-12-09 16:18:52 +01:00
Claude Paroz fce779475e [1.5.x] Removed US localflavor-specific tests from core
Also fixes #9045.
Backport of 8248d1402 from master.
2012-12-08 21:08:37 +01:00
Aymeric Augustin c81e8e7068 [1.5.x] Fixed #19389 -- Docs on the location of contrib apps tests.
Backport of d5ed81c.
2012-12-08 19:48:41 +01:00
Val Neekman 152d6cb411 fix a spelling error in docs
backport of cacafe8 from master.
2012-12-08 14:51:41 +01:00
Claude Paroz a155fb7408 [1.5.x] Fixed #19439 -- Removed unused template tag library in change_password.html
Thanks ppetrid for the report.
Backport of 35492f8fc from master.
2012-12-08 12:54:22 +01:00
Claude Paroz fa54604606 [1.5.x] Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides
Thanks joebuyer at manycycles.com for the report and Simon Charette
for the review.
Backport of 04e6542b5 from master.
2012-12-08 12:47:33 +01:00
Claude Paroz 9af9cdb3eb [1.5.x] Fixed a string detection in ogrinspect.py
Backport of 61407951 from master.
2012-12-08 12:20:48 +01:00
Claude Paroz 4214a22e06 [1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
2012-12-08 11:16:03 +01:00
Claude Paroz a0578a1a1c [1.5.x] Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
Backport of 53b879f045 from master.
2012-12-07 17:42:17 +01:00
Andreas Hug 67bddc0b7b [1.5.x] Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_valid
Thanks Simon Charette for the report and the initial patch.
Backport of 66dfcc10b from master.
2012-12-06 20:05:16 +01:00
Claude Paroz e9301ae451 [1.5.x] Fixed #19367 -- Fixed saving ContentFile in filesystem storage
This was not working properly when ContentFile was initialized with
an unicode string.
Thanks Alexey Boriskin for the report and the test.

Backport of 34dcf51e06 from master.
2012-12-06 17:19:35 +01:00
Marc Aymerich 57a41d985a [1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines
Applied to inlines what ec9d6b1122 did for main fieldsets.
Backport of 553838a28 from master.
2012-12-06 09:54:47 +01:00
Daniele Procida a8045c3af2 [1.5.x] Amended explanation of LOCALE_PATHS setting.
Thanks Daniele Procida for the patch.

37abad73d6 from master.
2012-12-04 20:20:35 -03:00
Ramiro Morales 6a098aa6f2 [1.5.x] Fixed #18697 -- Made values accepted for two customizable admin templates consistent.
Thanks and at cloverfastfood dot com for the report.

b64d30405a from master.
2012-12-04 19:53:52 -03:00
Ramiro Morales b6f67bd50e [1.5.x] Minor idiomatic and docstring edits in ar localflavor.
45f00dbb93 from master.
2012-12-04 19:50:19 -03:00
Anssi Kääriäinen 8c099ec3ec [1.5.x] Fixed #19391 -- Oracle specific failure in tests
The failure was caused by using None as a choice for a CharField. To
avoid Oracle's "" <-> NULL handling the field type was changed to
IntegerField.

Backpatch of 632cf32b43
2012-12-04 23:00:17 +02:00
Julien Phalip db455d6ff9 [1.5.x] Fixed the admin_filters tests for Postgres.
Backport of c196e01100
2012-12-04 10:39:49 -08:00
Claude Paroz 7fea7cf5d7 [1.5.x] Fixed #19378 -- Ensured get_success_url returns a non-lazy URL
Backport of 795ac7deda from master.
2012-12-04 13:24:04 +01:00
Sebastián Magrí 237a404d3e [1.5.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 88e1715639
2012-12-03 11:55:33 -08:00
Claude Paroz 3d62eaea69 [1.5.x] Fixed #19416 -- Fixed multi-line commands in initial SQL files
Thanks Aymeric Augustin for detecting this regression.
Backport of 5fa5621f5 from master.
2012-12-03 20:49:28 +01:00
Aymeric Augustin c9a47fb379 [1.5.x] Fixed #19397 -- Crash on binary files in project templates.
Thanks gw 2012 at tnode com for the report.

Backport of baae4b8.
2012-12-03 10:45:42 +01:00
Claude Paroz 1b93499849 [1.5.x] Fixed #19015 -- Add ISO input formats to all formats
Backport of 349c4c37f8 from master.
2012-12-01 15:43:38 +01:00
Claude Paroz ae549cc1dd Fixed #19015 -- Removed ISO formats from localized formats.py
ISO formats are automatically appended to the list of input
formats. Kept only when it is specified in first position, as it
has a special meaning in localize_input.
Thanks Bojan Mihelac for the report.

Backport of 90d3af380 from master.
2012-12-01 14:15:55 +01:00
Claude Paroz 676e4d5497 [1.5.x] Fixed #19349 -- Fixed re-rendering of ReadOnlyPasswordHashWidget
Thanks tim.bowden at mapforge.com.au for the report, Andreas Hug
for the patch and Anton Baklanov for the review.
Backport of a0cd6dd11 from master.
2012-12-01 12:23:49 +01:00
Tim Graham 88638ddd3d [1.5.X] Fixed #19400 - Typo in docs/topics/auth.txt
Backport of 008e625c66 from master
2012-11-30 15:13:51 -05:00
Ryan Kaskel 0fc5878c5f [1.5.x] Allow custom User models to use the UserAdmin's change password view.
Backport of bfdedb687a.
2012-11-30 16:24:51 +01:00
Claude Paroz 47c5b50d34 [1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505 from master.
2012-11-29 21:52:22 +01:00
Aymeric Augustin 83df1f3b57 [1.5.x] Fixed #19356 -- Increased session key entropy.
Backport of d913a8b from master.
2012-11-29 16:38:09 +01:00
Bruno Renié fe55052cca [1.5.x] Fixed typo in the 1.5* release notes. Thanks brutasse. 2012-11-28 20:45:10 -03:00
Ramiro Morales bb6e661e0e [1.5.x] Fixed a comment typo. 2012-11-28 20:42:00 -03:00
Anssi Kääriäinen e3ea668b47 [1.5.x] Fixed #14694 again -- Made defer() works with reverse relations
Master and stable/1.5.x had diverged in models/query.py.
2012-11-28 23:56:03 +02:00
Anssi Kääriäinen 957de74ebe [1.5.x] Converted a couple of assertEquals -> assertEqual 2012-11-28 23:55:47 +02:00
Claude Paroz 89593048e2 [1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5 from master.
2012-11-28 22:34:43 +01:00
Tai Lee a21e8dee76 [1.5.x] Fixed #14694 -- Made ``defer()`` work with reverse relations
Reverse o2o fields are now usable with defer.

Backpatch of [6ebf115206]
2012-11-28 18:25:34 +02:00
Jason Yan 54ce0ff7ba [1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
Backport of eeaab083f from master.
2012-11-28 09:28:21 +01:00
Tim Graham ecf292aa2c [1.5.X] Fixed #19239 - Added examples for generic date views
Thank-you Daniel Greenfeld and Scott Nixon.

Backport of 38055222bd from master
2012-11-27 19:30:44 -05:00
Tim Graham 931b0f8ccd [1.5.X] Fixed #19352 - Added an example in the QuerySet docs.
Thanks colinkeenan for the suggestion.

Backport of ba2adc9c05 from master
2012-11-27 18:22:49 -05:00
James Bennett 1c05619c1f [1.5.x] Bump version numbers for 1.5 beta 1. 2012-11-27 16:09:10 -06:00
Jacob Kaplan-Moss 212214e892 Fixed a couple of typos in the 1.5 (and beta) release notes.
Backport of [7cea123bde] from master.
2012-11-27 15:58:16 -06:00
Jacob Kaplan-Moss 28120a9436 Added 1.5 beta release notes.
Backport of [7a62339f59] from master.
2012-11-27 15:57:40 -06:00
Danilo Bargen 5509eb8626 [1.5.x] Fixed #19370 -- Made date filter properly handle midnight value
Backport of c10aaa70a from master.
2012-11-27 21:25:21 +01:00
Anssi Kääriäinen 4467d86b61 [1.5.x] Removed duplicate opts.pk_index() method
Backpatch of [d37483c533]
2012-11-27 21:59:03 +02:00
Aymeric Augustin 71e5ad248e [1.5.x] Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.
Thanks m3wolf for the report and akaariai for reproducing the problem.

Backport of 2ea80b9.
2012-11-27 09:55:26 +01:00
Edward Tjörnhammar 7c91b67cfa [1.5.x] Fixed #17911 -- Ensure that admin readonly fields' display values are shown in change forms when the raw value is None.
Backport of 29d59a879e
2012-11-25 23:16:44 +01:00