Claude Paroz
b39b0aedbf
[1.5.x] Fixed #19296 -- Applied test connection sharing for spatialite
...
Thanks pegler at gmail.com for the report and the initial patch.
Backport of ff0d3126af
from master.
2012-11-16 14:33:59 +01:00
Anssi Kääriäinen
33f1181c31
[1.5.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 92d7f541da
2012-11-15 16:11:22 +02:00
Claude Paroz
ebafba50a4
[1.5.x] Fixed #19272 -- Fixed gettext_lazy returned type on Python 2
...
Thanks tyrion for the report.
Backport of 550ddc66b
from master.
2012-11-14 10:55:12 +01:00
Claude Paroz
8967906e0a
[1.5.x] Fixed #19186 -- Fixed sending mail with unicode content on Python 3
...
Thanks alex_po for the report and Luke Plant for the analysis.
Backport of 1620c27936
from master.
2012-11-14 10:45:57 +01:00
Anssi Kääriäinen
af044d86b8
Fixed select_related performance regressions
...
The regression was caused by select_related fix for Oracle, commit
c159d9cec0
.
2012-11-13 23:02:08 +02:00
Anssi Kääriäinen
fe21c233d4
Removed use of SortedDict for query.alias_refcount
...
This will have a smallish impact on performance. Refs #19276 .
2012-11-13 23:01:34 +02:00
Anssi Kääriäinen
538d6c0fcd
Some changes to SortedDict to make it faster under py2
...
Refs #19276
2012-11-13 23:01:25 +02:00
Aymeric Augustin
3db2aeec98
[1.5.x] Tweaked cache key creation to avoid strict typing.
...
This is a provisional change. See #19221 for details.
Backport of 6c69de8
from master.
2012-11-11 21:25:30 +01:00
Anssi Kääriäinen
825a793555
[1.5.x] Fixed #19273 -- Fixed DB cache backend on pg 9.0+ and py3
...
There was a problem caused by Postgres 9.0+ having bytea_output default
value of 'hex' and cache backend inserting the content as 'bytes' into
a column of type TEXT. Fixed by converting the bytes value to a string
before insert.
Backpatch of [cc0ac26f4a
].
2012-11-10 19:48:27 +02:00
Claude Paroz
48a2917d46
[1.5.x] Removed an impossible code path in cache function
...
Backport of 04a7ea328
from master.
2012-11-10 15:45:45 +01:00
Claude Paroz
e6bc0c5bab
[1.5.x] Fixed #14264 -- Ensured settings.configure configures logging
...
Thanks Matt McDonald for the patch.
Backport of 34162698c
from master.
2012-11-10 12:10:43 +01:00
Sean Breant
6554137eeb
[1.5.x] Fixed #19262 -- Support cookie pickling in SimpleTemplateResponse
...
Refs #15863 .
Backport of 4d817b3887
from master.
2012-11-09 21:11:36 +01:00
Claude Paroz
dc95791e61
[1.5.x] Fixed #19261 -- Delayed Queryset evaluation in paginators
...
Thanks trbs for the report and the patch.
Backport of 1b307d6c8f
from master.
2012-11-09 19:44:47 +01:00
Florian Apolloner
31eefc8349
[1.5.X] Added missing encoding preamble to gis tests.
...
'coverage html' did fail without it.
Thanks to Claude Paroz for figuring it out.
Backport of aea8bf0662
from master.
2012-11-09 15:33:37 +01:00
Anssi Kääriäinen
908226cf1a
[1.5.x] Fixed #17144 -- MySQL again groups by PK only
...
Thanks to Christian Oudard for the report and tests.
Backpatch of [cafb266954
]
Conflicts:
django/db/models/sql/compiler.py
2012-11-08 01:10:24 +02:00
Claude Paroz
34d0c30e87
[1.5.x] Fixed #19257 -- Don't swallow command's KeyError in call_command
...
Thanks Giovanni Bajo for the report.
Backport of 9a09558e9f
from master.
2012-11-07 18:30:10 +01:00
Claude Paroz
e645c89bbb
[1.5.x] Fixed #14315 -- Made memcached backend handle negative incr/decr values
...
Thanks Michael Manfre for the report and initial patch and
Tobias McNulty for the review.
Backport of 79dd751b0b
from master.
2012-11-06 12:23:32 +01:00
Aymeric Augustin
93e0ec553d
[1.5.x] Fixed #19254 -- Bug in SESSION_FILE_PATH handling.
...
Thanks simonb for the report.
Refs #18194 .
Backport of 11fd00c
from master.
2012-11-06 10:21:30 +01:00
Claude Paroz
a23c9c48a8
[1.5.x] Fixed #8627 -- Prevented textareas to swallow first newline content
...
Browsers consider the first newline in textareas as some display
artifact, not real content. Hence they are not sending it back to
the server. If we want to keep initial newlines, we have to add one
when we render the textarea.
Thanks bastih for the report and initial patch.
Backport of 78f66691ee
from master.
2012-11-05 20:56:25 +01:00
Preston Holmes
c7d5e7c75b
[1.5.x] Fixed py3 compatibility for 5a00a57aa5
2012-11-04 23:39:56 -08:00
Alex Gaynor
d35b95c2f4
Merge branch 'stable/1.5.x' of https://github.com/django/django into stable/1.5.x
2012-11-04 15:58:54 -08:00
Alex Gaynor
d828d4e186
[1.5.x] Merge pull request #495 from aisipos/ticket_18949
...
Fixed #18949 -- Improve performance of model_to_dict with many-to-many
Backport of 4d766b3c9a
.
2012-11-04 15:58:37 -08:00
Preston Holmes
b85cb92ba9
[1.5.x] Fixed #19240 -- include pagination error details in ListView 404
...
Thanks to seawolf for the patch
2012-11-04 15:52:41 -08:00
Alex Gaynor
69a0c91c90
[1.5.x]Merge pull request #494 from mrj0/model_split
...
model_split: Fixed #19236 - fixed error for abstract models with a split method
Backport of 8d3f932f18
2012-11-04 14:21:49 -08:00
Alex Gaynor
6f716e9e5f
[1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a
.
2012-11-04 10:26:59 -08:00
Aymeric Augustin
d7688a010a
[1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
...
for Python 2 object model compatibility methods.
Backport of fc10418
from master.
2012-11-03 22:08:05 +01:00
Aymeric Augustin
be6522561f
[1.5.x] Fixed #15152 -- Avoided crash of CommonMiddleware on broken querystring
...
Backport of 973f539
from master.
2012-11-03 21:28:49 +01:00
Claude Paroz
e51a9c0c94
[1.5.x] Prevented host resolution when running dev server
...
Refs #19075 , #2494 .
Thanks Karen Tracey for spotting the issue.
Backport of 3e98d98b6
from master.
2012-11-03 20:13:18 +01:00
Aymeric Augustin
b99707bded
[1.5.x] Fixed #19101 -- Decoding of non-ASCII POST data on Python 3.
...
Thanks Claude Paroz.
Backport of 095eca8
from master.
2012-11-03 13:07:02 +01:00
Ulrich Petri
f12fa7750c
[1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
...
Backport of ac2052ebc8
from master.
2012-11-03 11:59:16 +01:00
Preston Holmes
0131da0622
[1.5.x] Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:55 -07:00
Tim Graham
c5d0f49dc2
[1.5.X] Added WizardView.file_storage exception message and docs
...
Thanks Danilo Bargen for the patch.
Backport of af7ea808d8
from master
2012-11-01 18:02:32 -04:00
Claude Paroz
a8c415f844
[1.5.x] Fixed #16678 -- Wrote tests for contrib.redirects app
...
Thanks Julien Phalip for the report.
Backport of d9213d09db
from master.
2012-11-01 19:49:08 +01:00
Andrew Godwin
f1be2c7a81
Fixed #19070 -- urlize filter no longer raises exceptions on 2.7
...
Thanks to claudep for the patch.
2012-10-31 11:01:39 +00:00
Aymeric Augustin
0dcaddb571
Fixed #17083 -- Allowed sessions to use non-default cache.
2012-10-31 09:51:19 +01:00
Claude Paroz
9c4ddea8e6
[1.5.x] Fixed #19174 -- Fixed capitalization errors in LANG_INFO
...
Thanks waldeinburg for the report.
Backport of 2f035a9
from master.
2012-10-30 23:07:31 +01:00
Claude Paroz
a24ffa52d0
[1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal
...
Backport of 9a0285134
from master.
2012-10-30 22:26:03 +01:00
Claude Paroz
5229ac20be
[1.5.x] Fixed #15714 -- Added note about capitalization of LANG_INFO name_local
...
Backport of 5dc4437df
from master.
2012-10-30 09:31:25 +01:00
Claude Paroz
3f3076edbf
[1.5.x] Fixed #5076 -- Properly decode POSTs with non-utf-8 payload encoding
...
Thanks daniel at blogg.se for the report and Aymeric Augustin for
his assistance on the patch.
Backport of 6de6988f9
from master.
2012-10-30 09:01:57 +01:00
Preston Holmes
e8269a6729
[1.5.x] Fixed #17869 - force logout when REMOTE_USER header disappears
...
If the current sessions user was logged in via a remote user backend log out
the user if REMOTE_USER header not available - otherwise leave it to other auth
middleware to install the AnonymousUser.
Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
2012-10-29 22:58:36 -07:00
Preston Holmes
402a986c25
[1.5.x] Fixed #19057 (again) -- added additional tests
2012-10-29 22:33:46 -07:00
Russell Keith-Magee
e784b5e594
[1.5.X] Added some test guards for some recently added auth tests.
...
Refs #19061 , #19057 .
2012-10-30 10:27:01 +08:00
Claude Paroz
8c556a32f2
[1.5.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:29:28 +01:00
Luke Plant
d7d7ad2881
[1.5.x] Fixed #17991 - prefetch_related fails with GenericRelation and varchar ID field
...
Thanks to okke@formsma.nl for the report, and carmandrew@gmail.com for the tests.
Backport of ccd14ff25b7642678bf3c9ed8a12643f04853144 from master
2012-10-29 14:41:05 +00:00
Preston Holmes
f427ecdc88
[1.5.x] Fixed #19061 -- added is_active attribute to AbstractBaseUser
2012-10-28 23:06:09 -07:00
Claude Paroz
b4627bcabe
[1.5.x] Fixed #18575 -- Empty DATABASES should default to dummy backend
...
Thanks delormemarco@gmail.com for the report.
Backport of f1cc2be0c
from master.
2012-10-28 23:46:54 +01:00
Aymeric Augustin
95f3f0cbbe
[1.5.x] Fixed a typo in aff9b2f
.
...
Thanks void.
Backport of effe96b
from master.
2012-10-28 22:36:01 +01:00
Aymeric Augustin
88393357a6
[1.5.x] Marked cookies-based session expiry test as an expected failure.
...
Refs #19201 .
Backport of 58337b3
from master.
2012-10-28 18:04:50 +01:00
Aymeric Augustin
780eaa4779
[1.5.x] Required serializer to use bytes in loads/dumps
...
loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.
dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.
The current code would cause an exception when loading pickled session
data. See next commit.
Also fixed a bug when checking for compressed data.
Backport of 58a086a
from master.
2012-10-28 18:04:21 +01:00
Anssi Kääriäinen
f105fbe52b
[1.5.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 611c4d6f1c
2012-10-28 17:34:14 +02:00