| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-12-23 | Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK ↵ | Mariusz Felisiak | |
| constraints inline and changing data. This allows adding foreign key constraints inline and changing data in the same migration on PostgreSQL 10+. Regression in 738faf9da2a5cd03148a36375db80746c99c9623. Thanks Janne Rönkkö for the report and Simon Charette for the implementation idea and review. | |||
| 2019-12-23 | Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵ | Jon Dufresne | |
| ChoiceWidget.create_option(). | |||
| 2019-12-23 | Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists(). | Simon Charette | |
| Clearing the SELECT clause in Query.has_results was orphaning GROUP BY references to it. Thanks Thierry Bastian for the report and Baptiste Mispelon for the bisect. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. | |||
| 2019-12-19 | Fixed #31095 -- Made RelatedManager.set() preserve existing m2m relations ↵ | Hasan Ramezani | |
| with an invalid type. | |||
| 2019-12-19 | Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on ↵ | Simon Charette | |
| aggregations. Thanks Johannes Hoppe for the report. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-12-18 | Refs #30585 -- Updated project templates and tests to use (block)translate tags. | Mike Hansen | |
| 2019-12-18 | Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags. | Mike Hansen | |
| 2019-12-18 | Fixed CVE-2019-19844 -- Used verified user email for password reset requests. | Simon Charette | |
| Co-Authored-By: Florian Apolloner <florian@apolloner.eu> | |||
| 2019-12-17 | Fixed #31086 -- Improved error message for admin model inlines with more ↵ | Shubham singh | |
| than one foreign key to the same parent. | |||
| 2019-12-16 | Fixed #31088 -- Added support for websearch searching in SearchQuery. | James Turk | |
| 2019-12-16 | Optimized containment check in ChoicesMeta. | Ram Rachum | |
| 2019-12-16 | Fixed #31076 -- Fixed dbshell crash on Windows with Python < 3.8. | Zeynel Özdemir | |
| subprocess.run()'s args parameter accepts path-like objects on Windows since Python 3.8. | |||
| 2019-12-14 | Added Algerian Arabic language. | Rabah Saadi | |
| 2019-12-13 | Fixed #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields ↵ | Baptiste Mispelon | |
| and value isn't iterable. | |||
| 2019-12-12 | Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'. | Osaetin Daniel | |
| Thanks Florian Apolloner and Carlton Gibson for reviews. | |||
| 2019-12-12 | Refs #23919 -- Used yield from in inspectdb. | Jon Dufresne | |
| 2019-12-11 | Refs #28373 -- Stopped setting tzinfo in typecast_timestamp(). | Sergey Fedoseev | |
| Unnecessary since cef3f2d3c64055c9fc1757fd61dba24b557a2add. When USE_TZ=True, conn_tznames is always passed to methods that use typecast_timestamp(). Therefore, it can return naive datetimes. | |||
| 2019-12-11 | Fixed #31080 -- Removed redundant type="text/javascript" attribute from ↵ | Jon Dufresne | |
| <script> tags. | |||
| 2019-12-10 | Fixed #31077 -- Made debug decorators raise TypeError if they're not called. | Baptiste Mispelon | |
| Django will raise an error if you forget to call the decorator. | |||
| 2019-12-10 | Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs. | Peter Andersen | |
| 2019-12-10 | Used Signature API instead of deprecated inspect.getcallargs(). | Baptiste Mispelon | |
| inspect.getcallargs() was deprecated in Python 3.5 and the Signature API (PEP 362) has better support for decorated functions (by default, it follows the __wrapped__ attribute set by functools.wraps for example). | |||
| 2019-12-10 | Fixed #26480 -- Fixed crash of contrib.auth.authenticate() on decorated ↵ | Baptiste Mispelon | |
| authenticate() methods of authentication backends. The Signature API (PEP 362) has better support for decorated functions (by default, it follows the __wrapped__ attribute set by functools.wraps for example). | |||
| 2019-12-10 | Used full module import for inspect in template/base.py. | Baptiste Mispelon | |
| 2019-12-09 | Refs #31044 -- Fixed error message when using Prefetch with a values_list() ↵ | Mariusz Felisiak | |
| queryset. | |||
| 2019-12-09 | Fixed #31044 -- Errored nicely when using Prefetch with a raw() queryset. | Hasan Ramezani | |
| 2019-12-09 | Fixed #27430 -- Added -b/--buffer option to DiscoverRunner. | Baptiste Mispelon | |
| 2019-12-09 | Fixed #31066 -- Added a docstring to main() function in manage.py template. | exploit19 | |
| 2019-12-06 | Made Query.check_filterable() use bool by default instead of str. | Alex Aktsipetrov | |
| 2019-12-06 | Fixed #31060 -- Reallowed window expressions to be used in conditions ↵ | Alex Aktsipetrov | |
| outside of queryset filters. Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4. Thanks utapyngo for the report. | |||
| 2019-12-06 | Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin. | Jon Dufresne | |
| Unify on the entry point created by setuptools entry_points feature. | |||
| 2019-12-06 | Fixed #31061 -- Ignored positional args in django.urls.resolve() when all ↵ | Mariusz Felisiak | |
| optional named parameters are missing. Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1. Thanks Claude Paroz for the report and Carlton Gibson for reviews. | |||
| 2019-12-06 | Fixed outdated import in django/utils/safestring.py. | Baptiste Mispelon | |
| The backported version of functools.wraps was removed in 13864703bc1d5dd4dac63c96c6a4b42a392bc57f. | |||
| 2019-12-05 | Fixed #31039 -- Added support for contained_by lookup with AutoFields, ↵ | Hasan Ramezani | |
| SmallIntegerField, and DecimalField. | |||
| 2019-12-05 | Refs #31039 -- Removed unnecessary registration of contained_by lookup for ↵ | Hasan Ramezani | |
| BigIntegerField. It's already registered for IntegerField. | |||
| 2019-12-05 | Fixed #31010 -- Allowed subdomains of localhost in the Host header by ↵ | Gordon Pendleton | |
| default when DEBUG=True. | |||
| 2019-12-04 | Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL. | Aymeric Augustin | |
| 2019-12-04 | Refs #23524 -- Unified BaseDatabaseWrapper.timezone. | Aymeric Augustin | |
| There was a special case in this property to return None when the database backend supports time zone. However, only the PostgreSQL backend supports time zones and it never uses this property. | |||
| 2019-12-04 | Removed unnecessary dict.get() call in favor of direct indexing. | Jon Dufresne | |
| The 'TEST' key is always set to a dictionary in ConnectionHandler. | |||
| 2019-12-03 | Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept ↵ | Baptiste Mispelon | |
| callable values in through_defaults. | |||
| 2019-12-03 | Simplified RelatedManager._add_items() a bit. | Baptiste Mispelon | |
| Added early return in RelatedManager._add_items() to decrease an indentation level. | |||
| 2019-12-03 | Refs #31046 -- Added django.db.models.utils.resolve_callables(). | Baptiste Mispelon | |
| 2019-12-03 | Fixed #31056 -- Allowed disabling async-unsafe check with an environment ↵ | Andrew Godwin | |
| variable. | |||
| 2019-12-02 | Refs #29892 -- Made Selenium tests wait for popups to be ready. | Jon Dufresne | |
| 2019-12-02 | Updated contrib translations from Transifex. | Carlton Gibson | |
| Forward port of 4afa0e5d2a7c723a11d06434706810224651c50b from stable/3.0.x | |||
| 2019-12-02 | Updated core translations from Transifex. | Carlton Gibson | |
| Forward port of 71ec95345cdc8039c8e7089977580f7e1cd39436 from stable/3.0.x | |||
| 2019-12-02 | Fixed CVE-2019-19118 -- Required edit permissions on parent model for ↵ | Carlton Gibson | |
| editable inlines in admin. Thank you to Shen Ying for reporting this issue. | |||
| 2019-12-02 | Fixed #30953 -- Made select_for_update() lock queryset's model when using ↵ | Mariusz Felisiak | |
| "self" with multi-table inheritance. Thanks Abhijeet Viswa for the report and initial patch. | |||
| 2019-11-29 | Fixed #30255 -- Fixed admindocs errors when rendering docstrings without ↵ | Baptiste Mispelon | |
| leading newlines. Used inspect.cleandoc() which implements PEP-257 instead of an internal hook. | |||
| 2019-11-29 | Fixed #31021 -- Fixed proxy model permissions data migration crash with a ↵ | Mariusz Felisiak | |
| multiple databases setup. Regression in 98296f86b340c8c9c968375d59f1d3a3479e60c2. | |||
| 2019-11-28 | Refs #23919 -- Replaced super(...) with super() in metaclasses. | Jon Dufresne | |
