| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-04-07 | Refs #27666 -- Ensured relationship consistency on delayed reloads. | Simon Charette | |
| Delayed reloads of state models broke identity based relationships between direct and non-direct ancestors. Basing models.Options related objects map of model labels instead of their identity ensured relationship consistency is maintained. Refs #30966. Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com> | |||
| 2020-04-07 | Fixed #31428 -- Allowed empty message in management command self.stdout/err ↵ | François Freitag | |
| proxies. | |||
| 2020-04-06 | Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+. | Sergey Fedoseev | |
| 2020-04-06 | Fixed #31426 -- Added proper field validation to QuerySet.order_by(). | Simon Charette | |
| Resolve the field reference instead of using fragile regex based string reference validation. | |||
| 2020-04-06 | Refs #7098 -- Deprecated passing raw column aliases to order_by(). | Simon Charette | |
| Now that order_by() has expression support passing RawSQL() can achieve the same result. This was also already supported through QuerySet.extra(order_by) for years but this API is more or less deprecated at this point. | |||
| 2020-04-06 | Fixed #31420 -- Fixed crash when filtering subquery annotation against a ↵ | Hasan Ramezani | |
| SimpleLazyObject. Thanks Simon Charette for the solution and analysis. | |||
| 2020-04-04 | Fixed #31415 -- Fixed crash when nested OuterRef is used with operators or ↵ | Hasan Ramezani | |
| in database functions. | |||
| 2020-04-02 | Fixed #31275 -- Optimized sql_flush() without resetting sequences on MySQL. | c-bata | |
| Co-Authored-By: Simon Charette <charettes@users.noreply.github.com> | |||
| 2020-04-02 | Refs #31051 -- Optimized serialize_db_to_string() by avoiding creation of ↵ | Matthijs Kooijman | |
| models list. | |||
| 2020-04-02 | Refs #31051 -- Fixed reloading the database with circular related objects ↵ | Matthijs Kooijman | |
| and natural keys for tests. Made deserialize_db_from_string() do not sort dependencies. deserialize_db_from_string() doesn't use natural keys, so there is no need to sort dependencies in serialize_db_to_string(). Moreover, sorting models cause issues for circular dependencies. | |||
| 2020-04-02 | Fixed #31411 -- Used RENAME COLUMN on MariaDB 10.5.2+. | Hasan Ramezani | |
| 2020-04-01 | Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE ↵ | hashlash | |
| environment variable. | |||
| 2020-04-01 | Refs #12990 -- Moved PostgresSimpleLookup to the ↵ | Mariusz Felisiak | |
| django.db.models.lookups.PostgresOperatorLookup. | |||
| 2020-03-31 | Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes ↵ | Hasan Ramezani | |
| or strings. | |||
| 2020-03-31 | Fixed #30864 -- Doc'd classproperty decorator. | Deep Sukhwani | |
| 2020-03-31 | Fixed #31403 -- Added support for returning fields from INSERT statements on ↵ | Adam Johnson | |
| MariaDB 10.5+. | |||
| 2020-03-31 | Refs #31403 -- Made SQLInsertCompiler.execute_sql() always return an ↵ | Adam Johnson | |
| iterable of rows. List of tuples. | |||
| 2020-03-27 | Fixed #31404 -- Changed selector-chosen's multiple attribute to HTML5 ↵ | zriv | |
| boolean syntax. | |||
| 2020-03-26 | Fixed #31402 -- Added migrate --check option. | Gordon Pendleton | |
| Command exits with non-zero status if unapplied migrations exist. | |||
| 2020-03-25 | Fixed #29724 -- Fixed timezone handling in ModelAdmin.date_hierarchy queries. | Hasan Ramezani | |
| Thanks Alexander Holmbäck for the initial patch. | |||
| 2020-03-25 | Fixed #31399 -- Made SchemaEditor._alter_field() ignore foreign key ↵ | Tim Graham | |
| constraints if unsupported. | |||
| 2020-03-25 | Fixed #23916 -- Allowed makemigrations to handle related model name case ↵ | Adam Johnson | |
| changes. Made autodetector ignore related model name case changes so unnecessary migrations are not created. | |||
| 2020-03-25 | Fixed #31396 -- Added binary XOR operator to F expressions. | Hannes Ljungberg | |
| 2020-03-25 | Fixed #31377 -- Disabled grouping by aliases on ↵ | Hasan Ramezani | |
| QuerySet.values()/values_list() when they collide with field names. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Holovashchenko Vadym for the report. | |||
| 2020-03-24 | Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names. | David Smith | |
| 2020-03-24 | Fixed #31392 -- Avoided unnecessary SchemaEditor.effective_default() calls ↵ | Shipeng Feng | |
| when altering a field. | |||
| 2020-03-24 | Fixed #31391 -- Removed jQuery usage in cancel.js | Jon Dufresne | |
| Now that cancel.js has no dependencies, it can be loaded asynchronously. Co-Authored-By: François Freitag <mail@franek.fr> | |||
| 2020-03-24 | Fixed #31365 -- Removed jQuery usage in SelectFilter2.js. | Jon Dufresne | |
| 2020-03-23 | Fixed #28194 -- Added support for normalization and cover density to SearchRank. | Hannes Ljungberg | |
| 2020-03-23 | Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context. | Adam Johnson | |
| 2020-03-23 | Refs #31032 -- Removed unsupported browsers workarounds and comments in ↵ | Jon Dufresne | |
| admin's JavaScript. Since 8b30360322d4de6687e17ab267a856db4e3c78a6, the admin documentation is explicit that only modern evergreen browsers are supported. This allows removing several long standing workarounds for IE and Opera older versions. Since 2013, Opera is based on the Chromium blink engine. | |||
| 2020-03-20 | Refs #29724 -- Added is_dst parameter to QuerySet.datetimes(). | Hasan Ramezani | |
| Thanks Simon Charette for the review and Mariusz Felisiak for tests. | |||
| 2020-03-20 | Fixed #31144 -- Relaxed system check for max_length of CharFields on ↵ | Rohit | |
| MySQL/MariaDB by turning into a warning. | |||
| 2020-03-19 | Fixed #31285 -- Fixed inherited Meta.ordering of "-pk". | Jon Dufresne | |
| 2020-03-19 | Fixed #31123 -- Added --include-stale-apps option to the ↵ | gowthamk63 | |
| remove_stale_contenttypes management command. Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com> | |||
| 2020-03-19 | Removed unused default value None to matches_patterns(). | Jon Dufresne | |
| An iterable is always passed. | |||
| 2020-03-19 | Used modern idiom in collectstatic command. | Jon Dufresne | |
| Replaced set(<generator expression>) with set comprehension. | |||
| 2020-03-19 | Refs #29548 -- Mentioned MariaDB in database system checks. | Mariusz Felisiak | |
| 2020-03-18 | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | |
| This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | |||
| 2020-03-18 | Refs #31055 -- Made long column names checks support databases aware. | Mariusz Felisiak | |
| 2020-03-18 | Simplified settings' BASE_DIR definition with pathlib.Path.parent. | Adam Johnson | |
| 2020-03-18 | Fixed #31371 -- Increased User.first_name max_length to 150 characters. | Ryan Petrello | |
| 2020-03-18 | Fixed #31376 -- Optimized nulls ordering when possible on SQLite and MySQL. | Simon Charette | |
| Both backends order NULLs first on ascending ordering and last on descending ordering which makes ORDER BY IS (NOT)? NULL wasteful when asc(nulls_first) and desc(nulls_last) are used since it prevents indice usage. | |||
| 2020-03-17 | Removed unused return values in SelectFilter2.js. | Jon Dufresne | |
| 2020-03-17 | Simplified SelectFilter2 with Element.closest(). | Jon Dufresne | |
| https://developer.mozilla.org/en-US/docs/Web/API/Element/closest | |||
| 2020-03-17 | Fixed #31172 -- Added note to translators for yesno filter. | Hasan Ramezani | |
| 2020-03-16 | Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵ | Baptiste Mispelon | |
| lookup. | |||
| 2020-03-16 | Fixed #31363 -- Added support for negative integers to intword template filter. | jay20162016 | |
| 2020-03-16 | Fixed #31361 -- Fixed invalid action="" in admin forms. | Jon Dufresne | |
| The attribute action="" (empty string) on the <form> element is invalid HTML5. The spec (https://html.spec.whatwg.org/#attr-fs-action) says: > The action and formaction content attributes, if specified, must have > a value that is a valid non-empty URL potentially surrounded by > spaces. Emphasis on non-empty. The action attribute is allowed to be omitted, in which case the current URL is used which is the same behavior as now. | |||
| 2020-03-13 | Refs #31340 -- Simplified SearchQuery by making it subclass Func. | Baptiste Mispelon | |
