summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2021-04-14Fixed #32643 -- Fixed decoding of messages in the pre-Django 3.2 format.Florian Apolloner
Thanks Jan Pieter Waagmeester for the report. Regression in 2d6179c819010f6a9d00835d5893c4593c0b85a0.
2021-04-14Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields ↵Mariusz Felisiak
on MySQL/MariaDB. Thanks Matt Westcott for the report. Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2.
2021-04-14Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.Arthur Jovart
2021-04-14Fixed #32649 -- Fixed ModelAdmin.search_fields crash when searching against ↵Mariusz Felisiak
phrases with unbalanced quotes. Thanks Dlis for the report. Regression in 26a413507abb38f7eee4cf62f2ee9727fdc7bf8d.
2021-04-14Fixed #32635 -- Fixed system check crash for reverse o2o relations in ↵Hasan Ramezani
CheckConstraint.check and UniqueConstraint.condition. Regression in b7b7df5fbcf44e6598396905136cab5a19e9faff. Thanks Szymon Zmilczak for the report.
2021-04-13Corrected typo in Field.deconstruct docstring.Daniel Hahler
2021-04-13Fixed #32637 -- Restored exception message on technical 404 debug page.Mariusz Felisiak
Thanks Atul Varma for the report.
2021-04-12Fixed #32627 -- Fixed QuerySet.values()/values_list() crash on combined ↵Iuri de Silvio
querysets ordered by unannotated columns.
2021-04-12Fixed #32416 -- Made ThreadedWSGIServer close connections after each thread.Chris Jerdonek
ThreadedWSGIServer is used by LiveServerTestCase.
2021-04-12Refs #32416 -- Added LiveServerTestCase._make_connections_override() hook.Chris Jerdonek
2021-04-10Fixed #31937 -- Eased translation of time strings in some languages.Claude Paroz
2021-04-09Refs #32074 -- Removed usage of Python's deprecated distutils.version package.Mariusz Felisiak
The distutils package was formally deprecated in Python 3.10 and will be removed in Python 3.12.
2021-04-09Added missing "event" argument to addEventListener() call in actions.js.Raymond Nunez
2021-04-09Fixed #32624 -- Avoided using JavaScript for "Local vars" show/hide in ↵Collin Anderson
technical 500 debug page.
2021-04-08Fixed #32620 -- Allowed subclasses of Big/SmallAutoField for DEFAULT_AUTO_FIELD.Adam Johnson
2021-04-08Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz
2021-04-08Refs #27488 -- Corrected detection of IsValid() support on SpatiaLite.Mariusz Felisiak
LWGEOM is not required for IsValid().
2021-04-07Dropped support for GEOS 3.5 and GDAL 2.0.Claude Paroz
2021-04-07Fixed #32501 -- Added support for returning fields from INSERT statements on ↵girishsontakke
SQLite 3.35+.
2021-04-07Fixed #32442 -- Used converters on returning fields from INSERT statements.Adam Johnson
2021-04-07Refs #32074 -- Made ExclusionConstraint.__repr__() use Deferrable.__repr__().Mariusz Felisiak
Follow up to c6859f1a684edec7bb33038b4408046a4db0c16d.
2021-04-07Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.Claude Paroz
2021-04-07Refs #32074 -- Backported Enum.__repr__() from Python 3.10.Mariusz Felisiak
Enum.__repr__() was changed in [1], we should use the same format in Python < 3.10. [1] https://bugs.python.org/issue40066
2021-04-06Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.Mariusz Felisiak
Thanks Claude Paroz for the initial patch. Thanks Dennis Brinkrolf for the report.
2021-04-06Updated translations from Transifex.Claude Paroz
Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x.
2021-04-02Fixed #32532 -- Made DiscoverRunner raise RuntimeError when a test label is ↵Chris Jerdonek
a file path.
2021-04-02Refs #32532 -- Replaced is_discoverable() with try_importing().Chris Jerdonek
2021-04-02Fixed #32383 -- Added source map support to ManifestStaticFilesStorage.Adam Johnson
2021-04-01Fixed #32316 -- Deferred accessing __file__.William Schwartz
Deferred accessing the module-global variable __file__ because the Python import API does not guarantee it always exists—in particular, it does not exist in certain "frozen" environments. The following changes advanced this goal. Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas Ravi for review and feedback.
2021-04-01Fixed #32610 -- Fixed get_git_changeset() on Linux.Mariusz Felisiak
shell=True is required on Windows. Unfortunately passing a sequence to subprocess.run() behaves differently on Linux, i.e. the first item specifies the command string, and any additional items are treated as additional arguments to the shell itself. https://docs.python.org/3.9/library/subprocess.html#subprocess.Popen https://docs.python.org/3.9/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows Regression in a44d80f88e22eda24dacef48e368895ebea96635.
2021-03-31Removed unnecessary left/right in admin sidebar CSS.Mariusz Felisiak
2021-03-31Fixed #32204 -- Added quick filter to admin's navigation sidebar.Maxim Milovanov
2021-03-31Refs #32105 -- Moved ExceptionReporter template paths to properties.William Schwartz
Refs #32316.
2021-03-30Fixed #31840 -- Added support for Cross-Origin Opener Policy header.bankc
Thanks Adam Johnson and Tim Graham for the reviews. Co-authored-by: Tim Graham <timograham@gmail.com>
2021-03-30Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes.Mariusz Felisiak
2021-03-30Fixed #29127 -- Prevented DiscoverRunner from hiding tagged test with syntax ↵Chris Jerdonek
errors. This mades _FailedTest objects always match tags in DiscoverRunner.
2021-03-30Fixed #32260 -- Made View.as_view() do not use update_wrapper().Daniyal
View.as_view() should not use update_wrapper() for copying attributes it's unintended and have side-effects such as adding `self` to the signature. This also fixes system check for arguments of custom error handler views with class-based views. Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2021-03-30Refs #32260 -- Made admindocs and technical 404 debug page use ↵Adam Johnson
view_func.view_class. Internals of admindocs and technical 404 debug page should use the view_class attribute and do not rely on __name__.
2021-03-29Fixed #32572 -- Improved ResolverMatch.__repr__().Nick Pope
When a partial function was passed as the view, the __repr__() would show the `func` argument as `functools.partial` which isn't very helpful, especially as it doesn't reveal the underlying function or arguments provided.
2021-03-29Fixed #31487 -- Added precision argument to Round().Nick Pope
2021-03-29Simplified and optimized test_match_tags().Chris Jerdonek
This simplifies and optimizes runner.py's test_match_tags() because it (1) uses isdisjoint() instead of intersection(), which involves constructing a new set, (2) eliminates a set operation when tags is falsey, (3) eliminates the need for a matched_tags variable, and (4) uses fewer not's, which should make it easier to parse and understand.
2021-03-29Fixed #32585 -- Fixed Value() crash with DecimalField on SQLite.Hasan Ramezani
2021-03-26Fixed #32591 -- Made DiscoverRunner order _FailedTest objects first.Chris Jerdonek
Failures detected when loading tests are ordered before all of the above for quicker feedback. This includes things like test modules that couldn't be found or that couldn't be loaded due to syntax errors.
2021-03-26Refs #32355 -- Corrected comments about Python's _NamespacePath.William Schwartz
_NamespacePath supports indexing in Python 3.8+.
2021-03-25Fixed #32578 -- Fixed crash in CsrfViewMiddleware when a request with Origin ↵Chris Jerdonek
header has an invalid host.
2021-03-25Refs #32579 -- Fixed cookie domain comment in CsrfViewMiddleware.process_view().Chris Jerdonek
2021-03-25Refs #32579 -- Optimized good_hosts creation in ↵Chris Jerdonek
CsrfViewMiddleware.process_view().
2021-03-25Fixed #32582 -- Removed unnecessary dot in names of cloned test databases on ↵Girish Sontakke
SQLite.
2021-03-24Fixed typo in DiscoverRunner --reverse help text.Chris Jerdonek
2021-03-24Refs #32532 -- Added DiscoverRunner.load_tests_for_label().Chris Jerdonek