Simon Charette
f37467ec7a
Added a test for ArrayField(HStoreField()).
2017-05-03 23:53:08 -04:00
Tim Graham
67702f3505
Converted sessions_tests to use assertIs() rather than assertTrue/False().
2017-05-03 20:21:39 -04:00
Tim Graham
578e576c31
Fixed #28167 -- Fixed cache backend's SessionStore.exists() if session_key is None.
2017-05-03 12:39:07 -04:00
Tim Graham
584e10c76e
Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child model.
...
Regression in 38575b007a
.
2017-05-03 12:14:15 -04:00
Alexander Kavanaugh
362fba87c9
Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new.
...
Regression in 4a246a02bd
.
2017-05-03 07:45:51 -04:00
Mariusz Felisiak
9b2d47bcde
Fixed broken link to QUnit docs.
2017-05-03 07:31:59 -04:00
Tim Graham
d302e2c09c
Fixed #28157 -- Fixed choice ordering in form fields with grouped and non-grouped options.
...
Regression in b52c73008a
.
2017-05-03 07:21:44 -04:00
Tim Graham
13cd5b0670
Fixed broken link to mysqlclient docs.
2017-05-02 20:17:14 -04:00
Tim Graham
d0e43f225f
Refs #28052 -- Cleaned up some indexes in schema tests.
2017-05-01 22:19:05 -04:00
Tim Graham
941280229e
Refs #28100 -- Added 1.11.1 release note for e6bfd3d751
.
2017-05-01 21:30:07 -04:00
Tim Graham
05098fa449
Fixed typo in django/db/backends/base/schema.py comment.
2017-05-01 20:45:33 -04:00
Markus Holtermann
663e48947f
Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
...
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
2017-05-01 11:31:48 -04:00
Ian Foote
63afe3a2bf
Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.
2017-05-01 09:32:44 -04:00
Tim Graham
4b0211dad5
Fixed #28139 -- Added another level of headings in the topics index.
2017-05-01 08:53:54 -04:00
Jon Dufresne
b39aabc6c6
Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.
...
As CharField.to_python() now always calls str(), assigning bytes to a
CharField is no longer correct usage. Doing so results in a warning:
django/db/models/fields/__init__.py:1061: BytesWarning: str() on a bytes instance
Use a unique constraint violation to trigger the database error instead.
Warning introduced in 301de774c2
.
2017-05-01 08:47:49 -04:00
Simon Charette
9ae4362bec
Refs #16187 -- Stopped compiling query compilers during lookup rhs processing.
...
Lookup right hand side processing was compiling query compilers which happened
to work by chance as SQLCompiler defines a as_sql() method with two optional
parameters albeit it doesn't expect the same type of arguments.
2017-05-01 00:41:21 -04:00
Dylan Verheul
75aeebebfe
Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs.
2017-04-30 20:19:12 -04:00
Tim Graham
1ebd295082
Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.
...
Thanks Preston Timmons for review.
2017-04-29 19:00:21 -04:00
Tim Graham
c920db1e57
Removed blank line in tests/model_fields/test_decimalfield.py per isort.
2017-04-29 07:42:12 -04:00
shinriyo
d510971088
Fixed typo in docs/topics/auth/default.txt.
2017-04-29 06:56:28 -04:00
Mariusz Felisiak
f3427ccb25
Refs #28138 -- Added release notes for d52577b62b
.
2017-04-28 13:15:05 -04:00
Mariusz Felisiak
946775227c
Fixed #28138 -- Used output type handler instead of numbersAsStrings on Oracle cursor.
...
Thanks Tim Graham for the review.
2017-04-28 16:27:21 +02:00
Tim Graham
f04a404917
Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
...
Regression in f5c6295797
.
2017-04-28 09:32:40 -04:00
Simon Charette
eb4724a063
Reverted "Refs #20939 -- Moved subquery ordering clearing optimization to the __in lookup."
...
This reverts commit e62ea0bb9c
since it
broke multi-column __in lookups and _meta.order_wrt on Oracle.
2017-04-28 09:30:35 -04:00
Mariusz Felisiak
f32ee6d0ec
Refs #6767 -- Added test for fetching decimal values without rounding error on Oracle.
2017-04-28 06:07:28 +02:00
Alexander Allakhverdiyev
620e9dd31a
Replaced django.utils.inspect.getargspec() with inspect.getfullargspec().
2017-04-27 20:42:49 -04:00
Tim Graham
60dce33ab1
Removed obsolete django.test.utils.strip_quotes().
...
Django's test runners no longer discover doctests.
2017-04-27 20:32:12 -04:00
Simon Charette
e62ea0bb9c
Refs #20939 -- Moved subquery ordering clearing optimization to the __in lookup.
...
Queries could potentially be resolved in cases where ordering matter.
2017-04-27 16:58:08 -04:00
Tim Graham
8095496a1c
Fixed force_text() import in Oracle backend.
2017-04-27 08:47:33 -04:00
Jon Dufresne
7be94e0335
Replaced set |= operator with update() to avoid temporary set.
2017-04-27 08:16:19 -04:00
Claude Paroz
59f8118c86
Refs #23919 -- Removed force_text() in Python deserializer needed only on Python 2
2017-04-27 14:05:25 +02:00
Claude Paroz
a8343fe7bf
Refs #27795 -- Replaced force_text() with str() in feed generators
2017-04-27 09:31:08 +02:00
Claude Paroz
301de774c2
Refs #27795 -- Replaced many force_text() with str()
...
Thanks Tim Graham for the review.
2017-04-27 09:10:02 +02:00
Daniel F Moisset
8ab7ce8558
Fixed #28037 -- Clarified that QueryDict.items()/values() are generators.
2017-04-26 20:51:28 -04:00
Tim Graham
31e0b3b40b
Added links and cosmetic edits to docs/ref/request-response.txt.
2017-04-26 20:48:59 -04:00
Josh Schneier
a1b2c1d76e
Fixed #28137 -- Deprecated HttpRequest.xreadlines().
2017-04-26 19:39:22 -04:00
kapil garg
278a09ac1f
Fixed #27730 -- Doc'd that template vars created outside a block can't be used in it.
2017-04-26 14:54:57 -04:00
Josh Schneier
9b538badb1
Refs #23919 -- Removed File's Python 2 proxied methods.
2017-04-26 14:44:07 -04:00
Ingo Klöcker
f3ac398dd5
Fixed #27644 -- Doc'd FileSystemStorage.get_created_time().
2017-04-26 13:33:35 -04:00
Nauman Tariq
6684af1e43
Added content_type filtering in Permission querying example.
2017-04-26 13:28:06 -04:00
Jon Dufresne
92bc727271
Replaced temporary lists used for passing arguments with iterables.
2017-04-26 10:54:20 -04:00
Tim Graham
309c10c2cb
Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py
...
The is_iterator() function was removed in 2456ffa42c
.
2017-04-26 10:54:06 -04:00
Tim Graham
8f50ca11eb
Clarified "newly-introduced features" in the supported versions policy.
2017-04-26 09:48:55 -04:00
Tim Graham
19a23fe562
Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis.
2017-04-26 09:45:33 -04:00
Tim Graham
bce5cc57e9
Fixed #28125 -- Clarified 1.11 release note about Template.render() prohibiting non-dict context.
2017-04-26 09:40:48 -04:00
Jon Dufresne
8bf96c109f
Replaced unneeded *arguments with positional arguments.
2017-04-26 09:39:24 -04:00
Simon Charette
c9159a082e
Refs #20939 -- Removed the Query._prepare_as_filter_value() hack.
2017-04-25 23:43:33 -04:00
Simon Charette
ec50937bcb
Refs #20939 -- Removed the Query._forced_pk hack.
2017-04-25 23:43:33 -04:00
Paolo Melchiorre
fcb5dbfec0
Fixed #27996 -- Added RandomUUID function and CryptoExtension to contrib.postgres.
2017-04-25 20:21:36 -04:00
Josh Schneier
98ee57e343
Removed nonexistent methods from File's docs.
...
read() and write() were removed in 68a890e79f
.
2017-04-25 19:49:00 -04:00