summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-23Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵Jon Dufresne
ChoiceWidget.create_option().
2019-12-23Refs #30998 -- Doc'd ModelChoiceField/ModelMultipleChoiceField.iterator ↵Jon Dufresne
attributes and ModelChoiceIterator.
2019-12-23Fixed #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-21Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.Taoup
2019-12-20Refs #30767 -- Improved deployment documentation.Katie McLaughlin
2019-12-20Added example of assertNumQueries() with "using" kwarg in testing topics docs.Garry Polley
2019-12-20Removed outdated information from contrib.sites docs.Garry Polley
2019-12-19Refs #28954 -- Remove remaining Jython documentation.Nick Pope
There is still no further progress on Jython 3 since support for Jython was stripped in Django 2.0. The developers experimenting with Jython 3 have stated that they would need to start from scratch, so it doesn't look as though it will materialize for years to come. Python 2 and Django 1.11, the last version to support Python 2.7, will both be end-of-life before Django 3.1 is released. We should no longer instruct users to use an unsupported version of Django.
2019-12-19Refs #28954 -- Removed remaining Jython-specific code from dispatch tests.Nick Pope
Missed in 23b21db31bfcf2a065d485617412cca43a311a4c.
2019-12-19Fixed #31095 -- Made RelatedManager.set() preserve existing m2m relations ↵Hasan Ramezani
with an invalid type.
2019-12-19Fixed #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-19Refs #31094 -- Added test for not using aliases in GROUP BY clauses.Simon Charette
2019-12-18Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2019-12-18Corrected some typos in documentation.Hasan Ramezani
2019-12-18Added stub release notes for 3.0.2.Mariusz Felisiak
2019-12-18Updated Pytest example in upgrade documentation.Adam Johnson
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009. Also link the name since this is the only reference in the Django documentation at current.
2019-12-18Added CVE-2019-19844 to the security archive.Mariusz Felisiak
2019-12-18Fixed CVE-2019-19844 -- Used verified user email for password reset requests.Simon Charette
Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-17Fixed #31086 -- Improved error message for admin model inlines with more ↵Shubham singh
than one foreign key to the same parent.
2019-12-16Fixed #31088 -- Added support for websearch searching in SearchQuery.James Turk
2019-12-16Optimized containment check in ChoicesMeta.Ram Rachum
2019-12-16Fixed #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-14Refs #12679 -- Added test for using property as ModelAdmin.inlines.Baptiste Mispelon
Fixed in 1d8eb0cae57731b481a88dca272b2cb0d645bd8e.
2019-12-14Added Algerian Arabic language.Rabah Saadi
2019-12-13Fixed #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields ↵Baptiste Mispelon
and value isn't iterable.
2019-12-12Rewrote CSRF JavaScript example without jQuery.Jon Dufresne
2019-12-12Fixed #31069, Refs #26431 -- Doc'd RegexPattern behavior change in passing ↵Hasan Ramezani
optional named groups in Django 3.0.
2019-12-12Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'.Osaetin Daniel
Thanks Florian Apolloner and Carlton Gibson for reviews.
2019-12-12Doc'd HttpResponse.set_cookie()'s secure argument.Osaetin Daniel
2019-12-12Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() ↵Osaetin Daniel
signatures in docs.
2019-12-12Refs #23919 -- Used yield from in inspectdb.Jon Dufresne
2019-12-12Fixed typos in 3.0 release notes and docs/ref/request-response.txt.Hasan Ramezani
2019-12-12Refs #25361 -- Added test for pickling queryset of abstract-inherited models ↵Baptiste Mispelon
with Meta.ordering. Fixed in 67cf5efa31acb2916034afb15610b700695dfcb0.
2019-12-12Removed unnecessary app_template directory from flake8 exclude.Jon Dufresne
Unnecessary since abc0777b63057e2ff97eee2ff184356051e14c47 where the extension was changed to not be ".py".
2019-12-11Fixed typo in tests/cache/tests.py docstring.Jon Dufresne
2019-12-11Fixed typo in ModelChoiceFieldTests.Jon Dufresne
The subindex and attrs arguments should be passed through to the parent, not overridden as None.
2019-12-11Refs #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-11Refs #31073 -- Added release notes for 02eff7ef60466da108b1a33f1e4dc01eec45c99d.Mariusz Felisiak
2019-12-11Fixed #31080 -- Removed redundant type="text/javascript" attribute from ↵Jon Dufresne
<script> tags.
2019-12-10Fixed #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-10Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs.Peter Andersen
2019-12-10Refs #23433 -- Fixed test_django_admin_py.DeprecationTest tests failures on ↵Mariusz Felisiak
Windows and Python < 3.8. subprocess.run()'s args parameter accepts a path-like object on Windows since Python 3.8.
2019-12-10Used 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-10Fixed #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-10Used full module import for inspect in template/base.py.Baptiste Mispelon
2019-12-09Refs #31044 -- Fixed error message when using Prefetch with a values_list() ↵Mariusz Felisiak
queryset.
2019-12-09Fixed #31044 -- Errored nicely when using Prefetch with a raw() queryset.Hasan Ramezani
2019-12-09Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.Baptiste Mispelon
2019-12-09Refs #30676 -- Added test for invalid --pdb and --parallel usage in ↵Mariusz Felisiak
DiscoverRunner.