summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2019-12-09Fixed typo in docs/releases/3.0.1.txt.Ali Mirlou
2019-12-09Fixed #31066 -- Added a docstring to main() function in manage.py template.exploit19
2019-12-06Made Query.check_filterable() use bool by default instead of str.Alex Aktsipetrov
2019-12-06Fixed #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-06Fixed #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-06Refs #23433 -- Removed script argument from AdminScriptTestCase.run_test().Jon Dufresne
2019-12-06Removed unnecessary __init__.py creation in admin_scripts.tests.Jon Dufresne
2019-12-06Fixed #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-06Fixed outdated import in django/utils/safestring.py.Baptiste Mispelon
The backported version of functools.wraps was removed in 13864703bc1d5dd4dac63c96c6a4b42a392bc57f.
2019-12-05Fixed #31039 -- Added support for contained_by lookup with AutoFields, ↵Hasan Ramezani
SmallIntegerField, and DecimalField.
2019-12-05Refs #31039 -- Removed unnecessary registration of contained_by lookup for ↵Hasan Ramezani
BigIntegerField. It's already registered for IntegerField.
2019-12-05Moved selenium import to nested scope.Carlton Gibson
2019-12-05Fixed #31010 -- Allowed subdomains of localhost in the Host header by ↵Gordon Pendleton
default when DEBUG=True.
2019-12-05Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.Mariusz Felisiak
2019-12-05Fixed typo in docs/releases/3.0.txt.jsals1
2019-12-04Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL.Aymeric Augustin
2019-12-04Refs #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-04Fixed #20456 -- Added example of directly testing CBVs in topics docs.Felipe Lee
2019-12-04Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.Uttam Kini
2019-12-04Refs #20935 -- Removed inappropriate crosslink to docs search results page.Fredrik
The link to the search page does not work in the Epub, since there is no such thing. In the online docs, the link to the search page displays a “No search query given” error, since its purpose is to display results from the search bar. Alone, without a query, it's just empty.
2019-12-04Refs #20935 -- Removed duplicate ToC references.Fredrik
These sections are being referred to already from other locations. Having multiple references to the same location from the ToC is ambiguous, and causes errors in the EPUB build.
2019-12-04Removed unnecessary dict.get() call in favor of direct indexing.Jon Dufresne
The 'TEST' key is always set to a dictionary in ConnectionHandler.
2019-12-04Fixed #31059 -- Fixed typo in docs/releases/3.0.txt.Mariusz Felisiak
2019-12-04Removed leftover word in CBV mixins docs.Claude Paroz
2019-12-03Fixed typo in internals/contributing/writing-documentation.txt.Hasan Ramezani
2019-12-03Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept ↵Baptiste Mispelon
callable values in through_defaults.