| 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-07 | Completed test coverage for forms.DurationField.to_python(). | David Smith | |
| 2020-04-07 | Fixed typo in tests/forms_tests/field_tests/test_imagefield.py test names. | David Smith | |
| 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 #31423 -- Clarified nested atomic() example. | Simon Charette | |
| 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 | Refs #26552 -- Added test for reloading the database with self-referential ↵ | Matthijs Kooijman | |
| objects. | |||
| 2020-04-02 | Fixed #31411 -- Used RENAME COLUMN on MariaDB 10.5.2+. | Hasan Ramezani | |
| 2020-04-01 | Corrected docs spelling of PgBouncer. | Carlton Gibson | |
| 2020-04-01 | Prevented (and corrected) single backtick usage in docs. | Adam Johnson | |
| 2020-04-01 | Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE ↵ | hashlash | |
| environment variable. | |||
| 2020-04-01 | Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL. | Adam Johnson | |
| 2020-04-01 | Refs #12990 -- Moved PostgresSimpleLookup to the ↵ | Mariusz Felisiak | |
| django.db.models.lookups.PostgresOperatorLookup. | |||
| 2020-04-01 | Added stub release notes for 3.0.6. | Carlton Gibson | |
| 2020-04-01 | Added release dates for 2.1.12 and 3.0.5. | Carlton Gibson | |
| 2020-03-31 | Removed unused link in docs/faq/help.txt. | Mariusz Felisiak | |
| Unused since its introduction in 97cb07c3a10ff0e584a260a7ee1001614691eb1d. | |||
| 2020-03-31 | Refs #31040 -- Used 402 HTTP status in middleware_exceptions tests. | Mariusz Felisiak | |
| HTTP status code 418 - "I'm a Teaport" was added to http.HTTPStatus in Python 3.9.0a5 [1] that caused failures in middleware_exceptions tests. This changes HTTP status used in middleware_exceptions tests to 402, which exists in all supported versions of Python. [1] https://docs.python.org/3.9/whatsnew/3.9.html#http | |||
| 2020-03-31 | Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes ↵ | Hasan Ramezani | |
| or strings. | |||
| 2020-03-31 | Refs #31375 -- Added test for contrib.auth.hashers.make_password() bytes ↵ | Hasan Ramezani | |
| support. | |||
| 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-30 | Fixed links in Getting Help FAQ. | Adam Johnson | |
| Follow up to 6ef4c8aa9f887f72ebdacff229b9012686272e3a, | |||
| 2020-03-27 | Fixed #31404 -- Changed selector-chosen's multiple attribute to HTML5 ↵ | zriv | |
| boolean syntax. | |||
| 2020-03-27 | Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option. | Hasan Ramezani | |
| 2020-03-26 | Fixed #31402 -- Added migrate --check option. | Gordon Pendleton | |
| Command exits with non-zero status if unapplied migrations exist. | |||
| 2020-03-26 | Clarified async documentation. | Adam Johnson | |
| 2020-03-26 | Rewrote Get Help FAQ. | Adam Johnson | |
| 2020-03-26 | Fixed #31330 -- Corrected catchall URL pattern in flatpages docs. | Carlton Gibson | |
| Use re_path() pattern with the regex used before original regression in df41b5a05d4e00e80e73afe629072e37873e767a. Regression in a0916d7212aaae634f4388d47d8717abc2cd9036. | |||
| 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 | Added tests for date_hierarchy template tag with models.DateTimeField. | Alexander Holmbäck | |
| 2020-03-25 | Fixed #31399 -- Made SchemaEditor._alter_field() ignore foreign key ↵ | Tim Graham | |
| constraints if unsupported. | |||
| 2020-03-25 | Added additional note that tests use locmem email backend. | Adam Johnson | |
| 2020-03-25 | Improved docs on migration reversibility. (#12619) | Adam Johnson | |
| - Clarify reversibility for RunSQL and RunPython operations. - Add example for migrate with irreversible migration. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-03-25 | Removed unnecessary assertions in ExpressionOperatorTests. | Mariusz Felisiak | |
| These tests don't modify Number.float field. | |||
| 2020-03-25 | Improved sessions notes in deployment checklist. | Adam Johnson | |
| - Added note to clear old sessions when using database-backend. - Made note to consider the cache backend more generic. | |||
| 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 intermittent SeleniumTests.test_prepopulated_fields failure. | Carlton Gibson | |
| Element would occasionally be outside of frame. | |||
| 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 | Reverted "Pinned asgiref == 3.2.5 in test requirements." | Mariusz Felisiak | |
| This reverts commit aa21020218a2dcd29a03444ad2a77f03f085b04e. Regression was fixed by https://github.com/django/asgiref/commit/e4367c571fd1833bda0b7ff0bd68d924916352da. | |||
| 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. | |||
