summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-22Fixed #32004 -- Clarified docs for when request.FILES is set.János Roden
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-09-22Corrected docstring quotes in various code.Mariusz Felisiak
2020-09-22Made indexes tests use required_db_features.Mariusz Felisiak
2020-09-22Made jinja2 import lazy in django.forms.Adam Johnson
Benchmarking shows that about 22% of the startup time for a simple django project was spent importing jinja2, which the project doesn't use. It's reasonable to make this import lazy. This will only affect projects where jinja2 is installed but not used, but given the prevalence of jinja2 that's likely to be many environments (e.g. if Ansible is installed, or the global Python install is used).
2020-09-21Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-09-21Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator ↵Mariusz Felisiak
changes.
2020-09-18Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation.Tom Carrick
Previously, backends used different keys "swedish-ci" or "swedish_ci".
2020-09-17Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.David D Lowe
Thanks to Nick Pope for review.
2020-09-17Refs #28939 -- Doc’d Prefetch behavior with multiple DBs.Mike Lissner
2020-09-17Tweaked loaddata command to re-use a calculated value.Владимир Лысенко
Removed a dublicated call to get_public_serializer_formats which had already populated self.serialization_formats. Thanks to Nick Pope for review.
2020-09-17Fixed #31916 -- Fixed combined queryset crash when combining with ordered ↵Hasan Ramezani
combined querysets.
2020-09-16Fixed #31843 -- Fixed pickling named values from QuerySet.values_list().Kwist
2020-09-16Refs #32007 -- Skipped test_q_expression_annotation_with_aggregation on Oracle.Mariusz Felisiak
2020-09-16Fixed #29887 -- Added a cache backend for pymemcache.Nick Pope
2020-09-16Refs #29887, Refs #24212 -- Added more client servers tests for PyLibMCCache.Nick Pope
2020-09-15Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.Mariusz Felisiak
Thanks Gordon Wrigley for the report. Regression in 8a6df55f2dd5131282084a4edfd48f63fbf8c69a.
2020-09-15Fixed #31989 -- Fixed return value of ↵Hasan Ramezani
django.core.files.locks.lock()/unlock() on POSIX systems.
2020-09-15Fixed #31636 -- Made BooleanFieldListFilter respect Field.choices.manav014
2020-09-15Prevented creation of 3D test models if not supported.Tim Graham
There's no problem creating the models on MySQL and Oracle (which don't support 3D storage) but CockroachDB currently crashes with a syntax error.
2020-09-15Added DatabaseIntrospection.index_default_access_method hook on the ↵Tim Graham
PostgreSQL backend. This hook is for the CockroachDB backend where the name is 'prefix'.
2020-09-14Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with ↵Mariusz Felisiak
Meta.ordering. Regression in 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6. Thanks Julien Dutriaux for the report.
2020-09-14Fixed #32003 -- Added obj argument to has_perm() methods in tests.Alexander Todorov
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-09-14Removed hardcoded paths to SpatialRefSys models in tests.Tim Graham
2020-09-14Refs #26697 -- Removed empty gis_tests.maps.Tim Graham
2020-09-13Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring.Mariusz Felisiak
2020-09-13Corrected exception types in QuerySet docs.Mariusz Felisiak
2020-09-11Fixed #31766 -- Made GDALRaster.transform() return a clone for the same SRID ↵Barton Ip
and driver. Thanks Daniel Wiesmann for the review.
2020-09-11Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using ↵Hasan Ramezani
a pickled Query.
2020-09-11Fixed #31993 -- Added subtitles to admin change/view pages.Jon Dufresne
2020-09-10Refs #31993 -- Added more titles assertions for admin views.Jon Dufresne
2020-09-10Fixed #31992 -- Made admin password reset templates use title/content_title ↵Jon Dufresne
blocks from the base template.
2020-09-10Refs #23130 -- Added test for BooleanField choices generation.Jacob Walls
2020-09-10Refs #31956 -- Doc'd consequences of disabling psycopg2's JSONB typecaster.Mariusz Felisiak
Follow up to 0be51d2226fce030ac9ca840535a524f41e9832c.
2020-09-10Fixed #31967 -- Doc'd consequences of resolving an output_field for Value().Hasan Ramezani
2020-09-09Fixed #31750 -- Made models.Field equality compare models for inherited fields.Ryan Hiebert
2020-09-09Mentioned ASGI handler in SuspiciousOperation docs.Mariusz Felisiak
2020-09-09Fixed #31962 -- Made SessionMiddleware raise SessionInterrupted when session ↵Hasan Ramezani
destroyed while request is processing.
2020-09-09Fixed #31987 -- Fixed Cast() with DurationField on MySQL.Petr Čermák
2020-09-07Fixed #31985 -- Corrected salted_hmac()'s docstring about supported algorithms.Francisco Couzo
salted_hmac() validates supported algorithms by checking hashlib methods.
2020-09-07Fixed #31944 -- Used addCleanup() to register TestContextDecorator cleanups.François Freitag
Cleanups from addCleanup() are scheduled to happen in reverse order to the order they are added (LIFO). Ensures each cleanup is executed from the innermost to the outermost.
2020-09-07Fixed #31791 -- Made technical 404 debug page display the tried URL patterns ↵Jon Dufresne
for Http404.
2020-09-07Refs #21231 -- Corrected parse_qsl() fallback.Tim Graham
An oversight in fd209f62f1d83233cc634443cfac5ee4328d98b8.
2020-09-05Fixed #31982 -- Made HttpResponse.set_cookie() cast max_age argument to an ↵Hasan Ramezani
integer.
2020-09-04Fixed #27417 -- Made RenameField operation a noop for field name case ↵Mariusz Felisiak
changes on Oracle. Field names are always uppercased in the Oracle backend. Changing case should be a noop to avoid database errors: "ORA-00957: duplicate column name".
2020-09-04Fixed #31894 -- Added note about using JSONField key lookups with ↵jpribyl
QuerySet.exclude() in docs.
2020-09-04Refs #31894 -- Added tests for JSONField key lookups with QuerySet.exclude().jpribyl
2020-09-03Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8.Nick Pope
2020-09-03Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM ↵Mariusz Felisiak
calls.
2020-09-03Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper ↵Jon Dufresne
argument optional.