summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-09-23Refs #32034 -- Added test for title on admin app index view.Raffaele Salmaso
2020-09-23Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite.Hasan Ramezani
Thanks Simon Charette for the initial patch.
2020-09-22Corrected docstring quotes in various code.Mariusz Felisiak
2020-09-22Made indexes tests use required_db_features.Mariusz Felisiak
2020-09-21Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick
Thanks Simon Charette and Mariusz Felisiak for reviews.
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-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-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-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-09Fixed #31750 -- Made models.Field equality compare models for inherited fields.Ryan Hiebert
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 #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-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-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-03Fixed #31978 -- Added username hint to admin's password reset confirmation form.Collin Anderson
2020-09-02Refs #31901 -- Fixed SeleniumTests.test_list_editable_popups with headless mode.Mariusz Felisiak
2020-09-02Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.Brian Helba
2020-09-02Fixed #31858 -- Reallowed whitespaces in URL paths outside of parameters.Tim Park
Regression in 22394bd3a18a7d9a8957a0b431f8ae4e5ca03a8c. Thanks David Smith for the review.
2020-09-02Refs #29887, Refs #24212 -- Added servers configuration hook for memcached ↵Nick Pope
backends. The servers property can be overridden to allow memcached backends to alter the server configuration prior to it being passed to instantiate the client. This allows avoidance of documentation for per-backend differences, e.g. stripping the 'unix:' prefix for pylibmc.
2020-09-02Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson
2020-09-01Refs #29887 -- Simplified memcached client instantiation.Nick Pope
2020-09-01Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level ↵Mariusz Felisiak
directories of the file system cache on Python 3.7+.
2020-09-01Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level ↵Mariusz Felisiak
static and storage directories on Python 3.7+. Thanks WhiteSage for the report.
2020-08-31Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.Federico Jaramillo Martínez
Thanks dacotagh for the report.
2020-08-31Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.Simon Charette
The optimization introduced in 7acef095d73 did not properly handle deletion involving filters against aggregate annotations. It initially was surfaced by a MariaDB test failure but misattributed to an undocumented change in behavior that resulted in the systemic generation of poorly performing database queries in 5b83bae031. Thanks Anton Plotkin for the report. Refs #23576.
2020-08-31Fixed #31919 -- Resolved output_field of IntegerField subclasses combinations.Simon Charette
2020-08-31Refs #30446 -- Added tests for resolving output_field of CombinedExpression.Simon Charette
2020-08-28Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵Mariusz Felisiak
on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.