Nick Pope
|
f3a98224e6
|
Refs #28909 -- Simplifed code using unpacking generalizations.
|
2017-12-21 21:05:23 -05:00 |
Sergey Fedoseev
|
ebc4ee3369
|
Refs #23941 -- Prevented incorrect rounding of DecimalField annotations on SQLite.
|
2017-12-21 19:50:56 -05:00 |
Sergey Fedoseev
|
c8a85e3e91
|
Fixed #28932 -- Prevented Oracle from truncating trailing zeros in the fractional part of DecimalField.
Fixes the test added in 6fd6d8383f .
Regression in 7c1f3901bc .
|
2017-12-20 11:55:51 -05:00 |
Mariusz Felisiak
|
fc9eec7bb7
|
Fixed #28934 -- Prevented Cast from truncating microseconds on Oracle.
|
2017-12-20 11:05:27 -05:00 |
Mariusz Felisiak
|
4420761ea9
|
Fixed #28727 -- Fixed Cast crash on SQLite when casting a Python date/datetime to Date/DateTimeField.
|
2017-12-19 19:54:58 +01:00 |
Sergey Fedoseev
|
9c9ef58352
|
Removed unused DatabaseOperations.date_interval_sql() on Oracle.
Unused since 5ca82e710e .
|
2017-12-16 23:59:36 +05:00 |
Sergey Fedoseev
|
6fd6d8383f
|
Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
This reverts commit a146b65628 and adds
a test for the regression.
|
2017-12-12 21:57:41 -10:00 |
Sergey Fedoseev
|
f9a0766f1c
|
Simplified SQLite converter for bool type.
|
2017-12-12 22:40:15 -05:00 |
Sergey Fedoseev
|
10bfa876be
|
Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if a custom lookup class with lookup_name != None is registered as the exact lookup.
Regression in 58da81a5a3 and prerequisite
for refs #28896.
|
2017-12-12 17:11:58 -10:00 |
Nick Pope
|
d13a9e44de
|
Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.
|
2017-12-11 07:08:45 -05:00 |
Simon Charette
|
b43acf22df
|
Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().
This required allowing WhereNode to be provided as When(condition).
This was made possible by cf12257db2 .
|
2017-12-08 10:59:49 -05:00 |
Sergey Fedoseev
|
c5a2f48bed
|
Improved performance of loading DateTimeField on Oracle and MySQL.
|
2017-12-08 09:53:27 -05:00 |
Tim Graham
|
2b81faab25
|
Fixed #28906 -- Removed unnecessary bool() calls.
|
2017-12-07 17:13:07 -05:00 |
Tim Graham
|
02d9419fe3
|
Fixed #28907 -- Removed unnecessary if statements.
|
2017-12-07 17:12:00 -05:00 |
Tim Graham
|
a862af3839
|
Fixed #28893 -- Removed unnecessary dict.items() calls.
|
2017-12-06 17:17:59 -05:00 |
Sergey Fedoseev
|
183fb7b2b9
|
Fixed #28870 -- Added support for functools.partialmethod serialization in migrations.
|
2017-12-06 14:49:37 -05:00 |
Mariusz Felisiak
|
fc48047586
|
Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
|
2017-12-05 21:11:20 +01:00 |
Mariusz Felisiak
|
f79d9a322c
|
Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
|
2017-12-05 21:05:10 +01:00 |
Дилян Палаузов
|
87c76aa116
|
Fixed #28873 -- Used dict.setdefault() to set model and form field defaults.
|
2017-12-04 13:28:48 -05:00 |
Дилян Палаузов
|
d2afa5eb23
|
Fixed #28860 -- Removed unnecessary len() calls.
|
2017-12-04 10:35:23 -05:00 |
Simon Charette
|
095c1aaa89
|
Fixed #28849 -- Fixed referenced table and column rename on SQLite.
Thanks Ramiro for the input and Tim for the review.
|
2017-12-01 22:12:24 -05:00 |
Sergey Fedoseev
|
cf12257db2
|
Fixed #28863 -- Fixed filter on annotation that contains Q.
|
2017-12-01 21:48:49 -05:00 |
Tim Graham
|
c3e0adcad8
|
Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1 .
|
2017-12-01 19:07:46 -05:00 |
Simon Charette
|
e50add6ca1
|
Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58 .
|
2017-11-30 09:28:44 -05:00 |
Mads Jensen
|
f0a68c2511
|
Fixed #28702 -- Made query lookups for CIText fields use citext.
|
2017-11-29 10:35:37 -05:00 |
Simon Charette
|
78c5e7b90e
|
Fixed #28834 -- Followed ancestor links on field cache lookup failure.
Thanks Tim for the review.
|
2017-11-29 01:28:39 -05:00 |
Nicolas Delaby
|
746caf3ef8
|
Fixed #28837 -- Fixed test client crash if an exception with more than one arg is raised.
Also removed usage of the problematic pattern elsewhere.
Regression in 6e55e1d88a .
|
2017-11-28 18:55:23 -05:00 |
Jon Dufresne
|
7a6fbf36b1
|
Fixed #28853 -- Updated connection.cursor() uses to use a context manager.
|
2017-11-28 11:28:09 -05:00 |
Дилян Палаузов
|
3308085838
|
Fixed #28854 -- Replaced type(True) with bool in sqlite's SchemaEditor.
|
2017-11-28 10:44:02 -05:00 |
Raphael Michel
|
616f468760
|
Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
|
2017-11-27 11:35:44 -05:00 |
Mariusz Felisiak
|
ad5f33ee03
|
Refs #27954 -- Fixed typo in django/db/backends/postgresql/client.py comment.
|
2017-11-26 16:27:37 +01:00 |
Sergey Fedoseev
|
93cdd07e8f
|
Used bytes.hex() and bytes.fromhex() to simplify.
|
2017-11-23 08:52:23 -05:00 |
Yan Mitrofanov
|
54e5c4a00e
|
Fixed #28820 -- Eliminated an extra query with QuerySet.update() on proxy models.
|
2017-11-21 12:11:47 -05:00 |
Dražen Odobašić
|
d97f026a7a
|
Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
|
2017-11-21 10:33:56 -05:00 |
Tim Graham
|
e3c852cbd6
|
Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on MariaDB.
Regression in 967450a3bf .
|
2017-11-20 10:08:34 -05:00 |
Krzysztof Nazarewski
|
244cc40155
|
Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
Thanks Krzysztof Nazarewski for the initial patch.
|
2017-11-18 19:33:52 -05:00 |
Simon Charette
|
ee85ef8315
|
Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.
Thanks Tim and Mariusz for the review.
|
2017-11-14 21:36:25 -05:00 |
Sergey Fedoseev
|
967450a3bf
|
Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.
|
2017-11-14 15:40:44 -05:00 |
Дилян Палаузов
|
23bf4ad87f
|
Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().
|
2017-11-14 10:52:52 -05:00 |
Sergey Fedoseev
|
a2ec1e6b2d
|
Used BaseSimpleSerializer for serializing str and bytes in migrations.
Follow up to c716fe8782 .
|
2017-11-13 14:12:46 -05:00 |
Mariusz Felisiak
|
2d3cc94284
|
Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
|
2017-11-12 14:28:11 +01:00 |
Sergey Fedoseev
|
bdb747a5f2
|
Simplified Field.get_choices().
|
2017-11-11 19:38:29 -05:00 |
Paulo
|
ee49306176
|
Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a primary key assignment.
|
2017-11-09 11:40:34 -05:00 |
Дилян Палаузов
|
c69e4bc691
|
Fixed #28769 -- Replaced 'x if x else y' with 'x or y'.
|
2017-11-07 09:08:46 -05:00 |
Дилян Палаузов
|
6c0042430e
|
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
|
2017-11-06 22:41:03 -05:00 |
Nick
|
3d22121a0b
|
Clarified error message for when sqlplarse isn't installed.
|
2017-11-03 10:09:46 -04:00 |
Mike Hansen
|
514b2c989a
|
Fixed #28723 -- Fixed RelatedManager's prefetch_related() cache name.
|
2017-11-02 10:06:00 -04:00 |
Charlie Denton
|
cbe334918a
|
Fixed #28750 -- Allowed models to define Meta.manager_inheritance_from_future for backwards compatibility.
Refs 631f4ab061 .
|
2017-10-31 13:22:27 -04:00 |
Paulo
|
fcfcf8aae4
|
Fixed #28742 -- Fixed AttributeError crash when assigning None to cached reverse relations.
|
2017-10-30 14:02:03 -04:00 |
Ran Benita
|
03049fb8d9
|
Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
Thanks Adam Chidlow for polishing the patch.
|
2017-10-28 20:33:42 -04:00 |