Tim Graham
|
d0a42a14c0
|
Fixed imports per isort 4.3.1.
Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c.
|
2018-02-02 14:44:07 -05:00 |
|
Mariusz Felisiak
|
9bcf73d788
|
Fixed imports per isort 4.3.0.
|
2018-02-01 09:29:46 +01:00 |
|
priyanshsaxena
|
617d5f410f
|
Fixed #29066 -- Allowed negating query expressions.
|
2018-01-31 10:54:19 -05:00 |
|
Дилян Палаузов
|
f427ffcccb
|
Fixed #29093 -- Simplified a few lines in ModelBase.__new__().
|
2018-01-31 10:22:56 -05:00 |
|
Jon Dufresne
|
136bf5c214
|
Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change.
|
2018-01-30 10:43:53 -05:00 |
|
Sigurd Ljødal
|
a455e732a0
|
Fixed #28650 -- Added TruncWeek database function.
|
2018-01-27 09:59:13 -05:00 |
|
François Freitag
|
3aa9ab39cc
|
Refs #28748 -- Reallowed lazy values in model field choices.
Regression in f9844f484186fa13399bf8b96f58616687fe158a.
Thanks Matthias Kestenholz for the report and suggestions.
|
2018-01-27 09:19:56 -05:00 |
|
Jon Dufresne
|
3187c89d6f
|
Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True) followed by annotate().
|
2018-01-26 09:35:50 -05:00 |
|
shanghui
|
8dc675d90f
|
Fixed #28838 -- Fixed Model.save() crash if the base manager annotates with a related field.
|
2018-01-25 10:12:04 -05:00 |
|
François Freitag
|
f9844f4841
|
Fixed #28748 -- Made model field choices check more strict for named groups.
|
2018-01-24 10:34:24 -05:00 |
|
Mads Jensen
|
65728550bd
|
Refs #28643 -- Added Replace database function.
|
2018-01-17 20:46:15 -05:00 |
|
hayashi
|
27557a7a99
|
Fixed #28857 -- Fixed invalid SQL when using Cast with complex expressions on PostgreSQL.
|
2018-01-17 09:28:03 -05:00 |
|
Étienne Loks
|
9a621edf62
|
Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion.
|
2018-01-13 10:31:00 -05:00 |
|
Mariusz Felisiak
|
385e6fb352
|
Removed Query.split_exclude()'s unused prefix argument.
Unused since b4492a8ca4a7ae4daa3a6b03c3d7a845fad74931.
|
2018-01-12 19:06:15 -05:00 |
|
Дилян Палаузов
|
a38ae914d8
|
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
|
2018-01-12 12:44:50 -05:00 |
|
Дилян Палаузов
|
d7b2aa24f7
|
Fixed #28982 -- Simplified code with and/or.
|
2018-01-03 20:12:23 -05:00 |
|
Tim Graham
|
acc8dd4142
|
Fixed #28984 -- Made assorted code simplifications.
|
2018-01-03 13:24:02 -05:00 |
|
Дилян Палаузов
|
d79cf1e9e2
|
Fixed #28985 -- Removed unneeded None checks before hasattr().
|
2018-01-03 11:37:06 -05:00 |
|
shanghui
|
cc6bcc6ff5
|
Fixed #28867 -- Added system check for a model property that clashes with a related field accessor.
|
2018-01-03 10:34:31 -05:00 |
|
Robin Ramael
|
fbf647287e
|
Fixed #28811 -- Fixed crash when combining regular and group by annotations.
|
2018-01-03 08:24:16 -05:00 |
|
Mariusz Felisiak
|
c86e9b5847
|
Removed DeferredAttribute.__init__()'s unused model argument.
Unused since a8a81aae20a81e012fddc24f3ede556501af64a2.
|
2018-01-02 17:54:10 -05:00 |
|
Simon Charette
|
f5a989e603
|
Fixed #28974 -- Made refresh_from_db() hint routers about its instance.
|
2018-01-02 09:42:24 -05:00 |
|
Tim Graham
|
d065c92678
|
Fixed #28918 -- Fixed Model.refresh_from_db() for instances hidden by the default manager.
|
2017-12-30 18:00:36 -05:00 |
|
Sergey Fedoseev
|
ae6fa914aa
|
Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL.
|
2017-12-28 17:35:41 -05:00 |
|
Sergey Fedoseev
|
44908d4d93
|
Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL.
|
2017-12-27 19:16:37 -05:00 |
|
hui shang
|
f1aa58479c
|
Fixed #28714 -- Added system checks for invalid model field names in Meta.indexes.
Thanks Gabriel for the report and Adam Johnson for the review.
|
2017-12-27 18:56:24 -05:00 |
|
Sergey Fedoseev
|
ae1baa7d1d
|
Refs #28459 -- Improved performance of loading DurationField on SQLite and MySQL.
|
2017-12-27 12:23:08 -05:00 |
|
Mads Jensen
|
ef6c680f60
|
Removed unused variable in QuerySet._earliest_or_latest().
|
2017-12-27 09:04:46 -05:00 |
|
Sergey Fedoseev
|
d0f569b350
|
Refs #28459 -- Improved performance of loading DecimalField on SQLite.
|
2017-12-26 18:12:37 -05:00 |
|
Дилян Палаузов
|
4c599ece57
|
Fixed #28930 -- Simplified code with any() and all().
|
2017-12-26 17:11:15 -05:00 |
|
Ran Benita
|
c21f158295
|
Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()).
|
2017-12-26 11:41:17 -05:00 |
|
Tim Martin
|
5778b5701d
|
Fixed #28731 -- Added an error message when using an empty Q() in a When expression.
Otherwise it generates invalid SQL.
|
2017-12-26 10:39:47 -05:00 |
|
Cameron Curry
|
622ead6aaf
|
Fixed #28937 -- Allowed BinaryField to be editable=True.
|
2017-12-22 16:31:46 -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 58da81a5a372a69f0bac801c412b57f3cce5f188 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 cf12257db23fa248c89a3da3f718aa01a50ca659.
|
2017-12-08 10:59:49 -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 |
|
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 |
|
Sergey Fedoseev
|
cf12257db2
|
Fixed #28863 -- Fixed filter on annotation that contains Q.
|
2017-12-01 21:48:49 -05:00 |
|
Simon Charette
|
e50add6ca1
|
Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.
|
2017-11-30 09:28:44 -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 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba.
|
2017-11-28 18:55:23 -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 |
|
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 |
|
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 |
|