Jon Dufresne
|
76990cbbda
|
Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.
The error appeared after 8c775391b7 .
|
2019-02-14 10:04:55 -05:00 |
Daniel Bowring
|
cf826c9a91
|
Fixed #30173 -- Simplified db.backends.postgresql.client.
|
2019-02-13 17:12:02 -05:00 |
Dan Davis
|
2bd8df243a
|
Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
|
2019-02-13 13:59:44 -05:00 |
Sergey Fedoseev
|
1933e56eca
|
Removed uneeded generator expressions and list comprehensions.
|
2019-02-09 09:18:48 -05:00 |
Simon Charette
|
b8c48d06fa
|
Refs #26608 -- Added a database feature for fixed frame range distance support.
|
2019-02-09 08:47:41 -05:00 |
Simon Charette
|
64d5bafbc6
|
Fixed #30027 -- Errored out on Window function usage if unsupported.
|
2019-02-09 08:47:41 -05:00 |
Simon Charette
|
ebd2fe1861
|
Refs #30027 -- Enabled window function tests on SQLite 3.25+.
|
2019-02-09 08:47:40 -05:00 |
Sergey Fedoseev
|
eefc9550fd
|
Simplified Window.as_sql().
|
2019-02-09 08:41:35 -05:00 |
Mariusz Felisiak
|
759a9b710c
|
Updated Oracle docs links to Oracle 18c.
|
2019-02-07 09:59:47 +01:00 |
Tim Graham
|
77d25dbd0f
|
Refs #27753 -- Favored SafeString over SafeText.
|
2019-02-06 14:12:06 -05:00 |
Aymeric Augustin
|
3bb6a4390c
|
Refs #27753 -- Favored force/smart_str() over force/smart_text().
|
2019-02-06 14:12:06 -05:00 |
Nick Pope
|
24b82cd201
|
Fixed #30159 -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
|
2019-02-06 13:48:39 -05:00 |
Mariusz Felisiak
|
21bb71ef0d
|
Fixed #30157 -- Dropped support for Oracle 12.1.
Thanks Tim Graham for the review.
|
2019-02-06 19:25:04 +01:00 |
Tim Graham
|
39ebdf5a3c
|
Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.
|
2019-02-04 18:07:02 -05:00 |
Tim Graham
|
d47498c5df
|
Fixed #30156 -- Dropped support for SpatiaLite 4.1 and 4.2.
|
2019-02-04 13:16:38 -05:00 |
Mariusz Felisiak
|
85f924a9b9
|
Refs #28859 -- Simplified fetch_returned_insert_id() by using int data type for binding variable on Oracle.
|
2019-02-04 16:31:23 +01:00 |
Jon Dufresne
|
290d8471bb
|
Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True).
|
2019-01-31 12:53:36 -05:00 |
Johannes Hoppe
|
b131f9c79f
|
Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for other columns.
|
2019-01-30 15:31:56 -05:00 |
Joshua Cannon
|
16a5a2a2c8
|
Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.
|
2019-01-30 13:44:10 -05:00 |
Tim Graham
|
7e6b214ed3
|
Fixed #30116 -- Dropped support for Python 3.5.
|
2019-01-30 10:19:48 -05:00 |
Mariusz Felisiak
|
5a5c77d55d
|
Fixed E117 and F405 flake8 warnings.
|
2019-01-30 13:06:09 +01:00 |
Dan Tao
|
738faf9da2
|
Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field.
|
2019-01-29 15:42:57 -05:00 |
Tim Graham
|
7444f32527
|
Refs #30055 -- Added a helpful error when SQLite is too old.
|
2019-01-28 11:14:45 -05:00 |
Jon Dufresne
|
7e3bf2662b
|
Removed default mode='r' argument from calls to open().
|
2019-01-27 17:41:43 -05:00 |
Nick Pope
|
bff748df3e
|
Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510 .
|
2019-01-22 19:02:34 -05:00 |
Nick Pope
|
e19f58fc01
|
Inlined DatabaseIntrospection._table_info() for SQLite.
|
2019-01-22 18:23:37 -05:00 |
Nasir Hussain
|
2804b8d215
|
Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS.
Regression in e192223ed9 .
|
2019-01-22 17:49:30 -05:00 |
Simon Charette
|
8d2dcc47cd
|
Fixed #30106 -- Made order_with_respect_to updates use QuerySet.bulk_update().
|
2019-01-21 17:02:20 -05:00 |
Simon Charette
|
65858119d2
|
Fixed #30120 -- Fixed invalid SQL in distinct aggregate.
Regression in bc05547cd8 (refs #28658).
|
2019-01-21 09:24:32 -05:00 |
Mariusz Felisiak
|
709a8b861d
|
Optimized Oracle PKs introspection by adding get_primary_key_column().
|
2019-01-18 16:50:06 +01:00 |
Tim Graham
|
da1de1615c
|
Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future.
|
2019-01-17 11:15:27 -05:00 |
Tim Graham
|
1fecde6be9
|
Refs #11557 -- Removed the field_name keyword argument to QuerySet.earliest() and latest().
Per deprecation timeline.
|
2019-01-17 10:52:19 -05:00 |
Tim Graham
|
da5eb3d56c
|
Refs #28370 -- Removed support for the context arg of Field.from_db_value() and Expression.convert_value().
Per deprecation timeline.
|
2019-01-17 10:52:19 -05:00 |
Tim Graham
|
944469939b
|
Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline.
|
2019-01-17 10:50:25 -05:00 |
Simon Charette
|
9e5e5a657b
|
Fixed #30044 -- Raised a FieldError on inherited field update attempts.
|
2019-01-16 14:09:51 -05:00 |
Simon Charette
|
dbcf2ffa77
|
Refs #9475 -- Simplified dictionary unpacking.
|
2019-01-16 09:20:15 -05:00 |
Nick Pope
|
d212bc03ba
|
Refs #9475 -- Fixed typo, used unpacking generalization, and made through_defaults kwarg-only.
|
2019-01-15 13:03:08 -05:00 |
Collin Anderson
|
769355c765
|
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
|
2019-01-15 11:12:17 -05:00 |
Nasir Hussain
|
f021c110d0
|
Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate.
|
2019-01-15 07:22:59 -05:00 |
Jon Dufresne
|
ad7aa02c1d
|
Removed unnecessary string formatting of strings.
|
2019-01-14 21:04:00 -05:00 |
Simon Charette
|
a96b901932
|
Refs #28478 -- Prevented timezone assignment for unusable PostgreSQL connections.
|
2019-01-14 16:05:00 -05:00 |
Nick Pope
|
846624ed08
|
Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.
Also addresses Sum() not handling the filter option correctly.
|
2019-01-14 14:39:57 -05:00 |
Nick Pope
|
6d4efa8e6a
|
Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:39:46 -05:00 |
Nick Pope
|
e85afa5943
|
Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:38:00 -05:00 |
Nick Pope
|
c690afb873
|
Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:35:41 -05:00 |
Nick Pope
|
3d5e0f8394
|
Refs #28643 -- Moved db function mixins to a separate module.
|
2019-01-14 14:26:46 -05:00 |
Nick Pope
|
7f1577d1ef
|
Avoided calling as_oracle() for SQLite in Left database function.
|
2019-01-14 13:02:58 -05:00 |
Nick Pope
|
ae65eed68d
|
Corrected comment in TruncTime database function.
|
2019-01-14 13:02:58 -05:00 |
Nick Pope
|
0d7ba0ff8b
|
Simplified overriding source expressions in some database functions.
|
2019-01-14 13:02:58 -05:00 |
Sergey Fedoseev
|
b86bb47818
|
Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions.
|
2019-01-14 10:28:11 -05:00 |