Anssi Kääriäinen
ce1af8d702
Removed use of SortedDict for query.alias_refcount
...
This will have a smallish impact on performance. Refs #19276 .
2012-11-13 22:48:25 +02:00
Anssi Kääriäinen
fa18b0ac89
Some changes to SortedDict to make it faster under py2
...
Refs #19276
2012-11-13 22:48:25 +02:00
Aymeric Augustin
00ff69a827
Fixed #19283 -- Fixed typo in imports in CBV docs.
2012-11-13 20:46:29 +01:00
Aymeric Augustin
e27a43cc54
Merge pull request #509 from pydanny/ticket_19244
...
Fixed #19244 -- Provided examples for some built-in templatetags and filters
2012-11-13 04:42:53 -08:00
Tim Graham
a72b8a2247
Fixed #19260 - Added a comment to tutorial 1.
...
Thanks terwey for the suggestion.
2012-11-13 05:45:08 -05:00
Tim Graham
7733f14631
Merge pull request #514 from nippo/master
...
Typo in comments doc
2012-11-13 02:24:33 -08:00
Daniel Greenfeld
3f65f751a0
Converted <paragraph> to <p> per #aaugustin's request
2012-11-12 16:12:27 -08:00
Nicolas Ippolito
17b14d4819
Typo in comments doc
2012-11-12 22:15:41 +01:00
Adrian Holovaty
09a39ca082
Negligible spacing fix in utils/log.py
2012-11-12 14:19:11 -06:00
Aymeric Augustin
6c69de80bd
Tweaked cache key creation to avoid strict typing.
...
This is a provisional change. See #19221 for details.
2012-11-11 21:23:45 +01:00
Aymeric Augustin
4c5cea7073
Merge pull request #218 from mgrouchy/ticket_18582
...
Fixed #18582 -- Added a no-op close to BaseCache
2012-11-11 07:18:45 -08:00
Anssi Kääriäinen
cc0ac26f4a
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.
2012-11-10 19:42:20 +02:00
Claude Paroz
04a7ea3283
Removed an impossible code path in cache function
2012-11-10 15:42:27 +01:00
Claude Paroz
34162698cc
Fixed #14264 -- Ensured settings.configure configures logging
...
Thanks Matt McDonald for the patch.
2012-11-10 12:05:58 +01:00
Sean Breant
4d817b3887
Fixed #19262 -- Support cookie pickling in SimpleTemplateResponse
...
Refs #15863 .
2012-11-09 21:07:53 +01:00
Claude Paroz
1b307d6c8f
Fixed #19261 -- Delayed Queryset evaluation in paginators
...
Thanks trbs for the report and the patch.
2012-11-09 19:41:57 +01:00
Florian Apolloner
aea8bf0662
Added missing encoding preamble to gis tests.
...
'coverage html' did fail without it.
Thanks to Claude Paroz for figuring it out.
2012-11-09 15:16:06 +01:00
Tim Graham
19eb56a277
Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
...
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-09 02:48:32 -08:00
Claude Paroz
a79d920a56
Fixed #19266 -- Added Texinfo documentation target
...
Thanks orontee for the report and initial patch.
2012-11-09 09:00:27 +01:00
Daniel Greenfeld
1db5d88273
Added examples for comment, templatetag, escape, force_escape, timesince, and timeuntil
2012-11-08 16:35:39 -08:00
Claude Paroz
9942adac17
Made Page class inherit collections.Sequence
2012-11-08 16:13:23 +01:00
Claude Paroz
45802e1248
Merged pagination tests
...
It is simpler/cleaner to have all pagination tests in a single file.
Refs #16122 .
2012-11-08 11:07:16 +01:00
Anssi Kääriäinen
cafb266954
Fixed #17144 -- MySQL again groups by PK only
...
Thanks to Christian Oudard for the report and tests.
2012-11-08 00:56:32 +02:00
Claude Paroz
b1ac329ba9
Fixed #19115 -- Documented stdout/stderr options for call_command
...
Thanks d1ffuz0r for helping with the patch.
2012-11-07 18:31:14 +01:00
Claude Paroz
9a09558e9f
Fixed #19257 -- Don't swallow command's KeyError in call_command
...
Thanks Giovanni Bajo for the report.
2012-11-07 18:28:53 +01:00
Danilo Bargen
b0c72d0a30
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-07 17:13:06 +01:00
Tim Graham
e8f696097b
Fixed #19161 - Added missing clean_password method in custom user docs
...
Thanks DavidW for the report.
2012-11-06 19:44:49 -05:00
Tim Graham
a386675a6a
Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
2012-11-06 19:03:44 -05:00
Tim Graham
620e0bba49
Fixed #19154 - Noted commit_manually requires commit/rollback for reads
...
Thanks als for the report.
2012-11-06 17:47:10 -05:00
Claude Paroz
79dd751b0b
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.
2012-11-06 12:22:42 +01:00
Tim Graham
2cc1884383
Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
...
Thanks Fred Palmer for the report.
2012-11-06 05:17:21 -05:00
Aymeric Augustin
11fd00c46e
Fixed #19254 -- Bug in SESSION_FILE_PATH handling.
...
Thanks simonb for the report.
Refs #18194 .
2012-11-06 10:19:14 +01:00
Tim Graham
d3fd8a1512
Fixed #15591 - Clarified interaction between ModelForm and model validation.
2012-11-05 18:24:28 -05:00
Claude Paroz
78f66691ee
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.
2012-11-05 20:27:06 +01:00
Claude Paroz
39ec43b478
Removed unnecessary import after b98083ce3d
2012-11-05 09:32:08 +01:00
Preston Holmes
6bd61194d4
Fixed py3 compatibility for 5a00a57aa5
2012-11-04 23:38:41 -08:00
Preston Holmes
2cb48fffd4
Removed redundant docs addition across two commits
...
d5c3c45f2f
a70492e6b5
2012-11-04 19:12:44 -08:00
Anton I. Sipos
fdea2621cd
Fixed #18949 -- Fix broken test interactions in ModelForms tests
...
A test in Model Forms test was specifically referring to a fixed
primary key, which was now being used up in a newly committed.
This has been worked around by specifying a higher primary
key.
2012-11-04 18:43:11 -08:00
Bryan Veloso
79a484fc8e
Merge pull request #496 from pydanny/ticket_19241
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 18:19:56 -08:00
Daniel Greenfeld
a70492e6b5
Fixed #19241 -- Improved floatformat docs
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:40:21 -08:00
Daniel Greenfeld
d5c3c45f2f
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 16:35:40 -08:00
Alex Gaynor
4d766b3c9a
Merge pull request #495 from aisipos/ticket_18949
...
Fixed #18949 -- Improve performance of model_to_dict with many-to-many
2012-11-04 15:57:45 -08:00
Anton I. Sipos
e44ab5bb4f
Fixed #18949 -- Improve performance of model_to_dict with many-to-many
...
When calling model_to_dict, improve performance of the generated SQL by
using values_list to determine primary keys of many to many objects. Add
a specific test for this function, test_model_to_dict_many_to_many
Thanks to brian for the original report and suggested fix.
2012-11-04 15:52:05 -08:00
Preston Holmes
5a00a57aa5
Fixed #19240 -- include pagination error details in ListView 404
...
Thanks to seawolf for the patch
2012-11-04 15:52:00 -08:00
Alex Gaynor
0a49e6164c
Corrected a typo that inadvertently made its way into the docs.
2012-11-04 15:44:20 -08:00
Alex Gaynor
957787ace0
Added multi-column indexes to the 1.5 release notes.
2012-11-04 15:41:33 -08:00
Alex Gaynor
8d3f932f18
Merge pull request #494 from mrj0/model_split
...
model_split: Fixed #19236 - fixed error for abstract models with a split method
2012-11-04 14:20:26 -08:00
Mike Johnson
088f68252d
use six.string_types for python3
2012-11-04 14:16:32 -08:00
Alex Gaynor
b98083ce3d
Remove some bizzare and unnecesary code.
2012-11-04 13:58:40 -08:00
Mike Johnson
fcd3d4c68f
model_split: Fixed #19236 - fixed error for abstract models with a split method
2012-11-04 13:43:54 -08:00