summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2020-10-05Fixed #31926 -- Fixed recreating queryset with FilteredRelation when using a ↵David-Wobrock
pickled Query. In a pickled join, the join_fields had the same values, but weren't the same object (contrary to when not pickling the QuerySet).
2020-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-10-01Fixed #32051 -- Fixed rocket animation on the 'Congrats' page.Thibaud Colas
- Fixed congratulations smoke being cropped. - Refactored congratulation rocket so the animation can be stopped. - Made animation respect user preference for reduced animation. - Made rocket animation stop after 7s.
2020-10-01Refs #32051 -- Cleaned up CSS and SVG in the 'Congrats' page.Thibaud Colas
- Removed unnecessary vendor prefixes. - Removed unused CSS and SVG code. - Removed invalid CSS. - Removed IE9-only browser reset styles. - Fixed animation on Firefox.
2020-09-30Fixed #31986 -- Fixed admin filter sidebar scrolling.Tom Carrick
Regression in 2bc38bc7cae002f949157d95e3f0c19ea6b8ca5c. Thanks haki for the report.
2020-09-30Fixed #32047 -- Fixed call_command() crash if a constant option from ↵Hasan Ramezani
required mutually exclusive group is passed in options.
2020-09-30Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.aryan
This patch allows upload handlers to handle interrupted uploads. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-09-30Updated translations from Transifex.Claude Paroz
Forwardport of f7397bb7c8cb938161a9d43a16ee974f41c96a8b from stable/3.1.x.
2020-09-29Fixed #31880 -- Made QuerySet.aggregate() raise FieldError when aggregating ↵David Wobrock
over aggregation aliases.
2020-09-29Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when ↵Jacob Walls
plural count is not a number.
2020-09-28Fixed #32042 -- Improved error messages for the number of submitted forms in ↵meghanabhange
formsets.
2020-09-25Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.Mariusz Felisiak
Thanks Javier Matos Odut for the report.
2020-09-24Fixed #30563 -- Optimized form Media by removing duplicated assets when adding.David Smith
2020-09-24Fixed #27906 -- Fixed test tools counting of HTML matches for subsets of ↵Jacob Walls
elements. Previously examples such as '<a/><b/>' would not match in '<a/><b/><c/>'.
2020-09-23Fixed #32029 -- Removed unnecessary margin in admin CSS for horizontal radio ↵Matthias Kestenholz
inputs.
2020-09-23Fixed #32027 -- Fixed wrapping of long words in admin error messages.Matthias Kestenholz
2020-09-23Fixed #32012 -- Made test database creation sync apps models when migrations ↵Mariusz Felisiak
are disabled. Thanks Jaap Roes for the report.
2020-09-23Fixed #32034 -- Removed redundant get_app_config() call in AdminSite.app_index.Raffaele Salmaso
app_config.verbose_name is already in app_dict.
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 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-18Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation.Tom Carrick
Previously, backends used different keys "swedish-ci" or "swedish_ci".
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-16Fixed #29887 -- Added a cache backend for pymemcache.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-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 #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
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-10Fixed #31992 -- Made admin password reset templates use title/content_title ↵Jon Dufresne
blocks from the base template.
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 #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-03Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8.Nick Pope
2020-09-03Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper ↵Jon Dufresne
argument optional.
2020-09-03Fixed #31978 -- Added username hint to admin's password reset confirmation form.Collin Anderson
2020-09-02Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.Brian Helba