summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2020-03-13Removed unnecessary SearchQuery._combine().Baptiste Mispelon
Unnecessary since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a.
2020-03-12Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a ↵David Smith
error message key.
2020-03-11Fixed typo in django/utils/crypto.py.Mariusz Felisiak
2020-03-11Fixed #31359 -- Deprecated get_random_string() calls without an explicit length.Claude Paroz
2020-03-10Fixed #30439 -- Added support for different plural forms for a language.Claude Paroz
Thanks to Michal Čihař for review.
2020-03-09Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵Jon Dufresne
in admin.
2020-03-09Fixed #31347 -- Checked allow_migrate() in CreateExtension operation.Hasan Ramezani
2020-03-09Fixed #31318 -- Allowed sqlmigrate to inspect squashed migrations.David Wobrock
2020-03-09Refs #31318 -- Optimized sqlmigrate by using MigrationLoader.David Wobrock
Only loader from MigrationExecutor was used.
2020-03-09Refs #31318 -- Moved MigrationExecutor.collect_sql() to MigrationLoader.David Wobrock
collect_sql() is used only in sqlmigrate.
2020-03-06Optimized a bit handle() of sqlmigrate management command.David Wobrock
2020-03-06Refs #31304 -- Made __search lookup default to its rhs' config.Simon Charette
This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config.
2020-03-06Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations().shankarj67
2020-03-05Refs #31224 -- Added autoconversion of test async methods.Andrew Godwin
2020-03-05Fixed #29129 -- Skipped UPDATE when adding a model instance with inherited ↵Abhijeet Viswa
primary key that has a default.
2020-03-05Fixed #30489 -- Fixed RasterField deserialization with pixeltype flags.Hasan Ramezani
Thanks Ivor Bosloper for the original patch.
2020-03-05Fixed #31327 -- Deprecated providing_args argument for Signal.Jon Dufresne
2020-03-04Refs #30489 -- Made from_pgraster()/to_pgraster() use ↵Ivor Bosloper
BANDTYPE_FLAG_HASNODATA and bitwise operators for nodata flag.
2020-03-04Fixed #31333 -- Added BaseDatabaseIntrospection.get_table_description().aryan
2020-03-04Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions ↵Mariusz Felisiak
and aggregates on Oracle. Thanks to Norbert Szetei for the report.
2020-03-03Fixed #31147 -- Added SearchHeadline to django.contrib.postgres.Hannes Ljungberg
2020-03-03Refs #31331 -- Added DatabaseWrapper.sql_mode to MySQL.Mariusz Felisiak
2020-03-03Fixed #31150 -- Included subqueries that reference related fields in GROUP ↵Mariusz Felisiak
BY clauses. Thanks Johannes Hoppe for the report. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Co-authored-by: Simon Charette <charette.s@gmail.com>
2020-03-02Fixed #31274 -- Used signing infrastructure in SessionBase.encode()/decode().Claude Paroz
Thanks Mariusz Felisiak and Florian Apolloner for the reviews.
2020-03-02Refs #26064 -- Avoided unnecessary list slicing in migration optimizer.Simon Charette
The in_between list is only necessary if an optimization is possible.
2020-02-28Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.007
2020-02-28Fixed #31301 -- Fixed crash of QuerySet.bulk_create() with mixed empty and ↵Hans Aarne Liblik
set ForeignKeys to AutoFields on Oracle.
2020-02-28Fixed #31311 -- Removed unneeded escapes in validator regexes.kimbo
Special characters lose their special meaning inside sets of characters. "-" lose its special meaning if it's placed as the first or last character.
2020-02-28Fixed #31314 -- Raised CommandError when locale is not specified in ↵Cristobal Mackenzie
makemessages. Regression in 0707b824fe77e08ca8b75fcc3738ada694f2a3a6.
2020-02-28Fixed #31310 -- Fixed hints in checks for using intermediate model with ↵Matheus Cunha Motta
ambiguous foreign key. symmetrical=False is not required since 87b1ad6e7351464c60e751b483d9dfce3a2d3382.
2020-02-27Fixed #31307 -- Fixed filter_horizontal add/remove SVG :hover positioning.007gzs
2020-02-27Fixed #31251 -- Disabled grouping by OuterRef() annotation.Rohit
2020-02-27Fixed #31185 -- Fixed detecting of unique fields in ForeignKey/ForeignObject ↵Valze
checks when using Meta.constraints.
2020-02-27Fixed #31312 -- Properly ordered temporal subtraction params on MySQL.Simon Charette
Regression in 9bcbcd599abac91ea853b2fe10b784ba32df043e. Thanks rick2ricks for the report.
2020-02-26Fixed #28699 -- Fixed CSRF validation with remote user middleware.Colton Hicks
Ensured process_view() always accesses the CSRF token from the session or cookie, rather than the request, as rotate_token() may have been called by an authentication middleware during the process_request() phase.
2020-02-26Fixed #28280 -- Prevented numberformat.format() from formatting large/tiny ↵Hasan Ramezani
floats in scientific notation.
2020-02-26Fixed #31289 -- Added hint for USERNAME_FIELD/REQUIRED_FIELDS system check.aryan
2020-02-26Simplified handling of weights in SearchRank.Simon Charette
2020-02-26Formalized SearchVector and SearchRank signatures.Simon Charette
2020-02-26Refs #31211 -- Prevented SearchConfig nesting in SearchVector and ↵Simon Charette
SearchQuery init. Passing a SearchConfig instance directly to SearchVector and SearchQuery would result in nested SearchConfig instance.
2020-02-26Refs #3254 -- Removed unnecessary truth check in SearchVectorExact.as_sql().Simon Charette
Direct usage of the @@ operator is perfectly allowed.
2020-02-25Fixed #31291 -- Renamed salt to mask for CSRF tokens.Ram Rachum
2020-02-24Fixed #31286 -- Made database specific fields checks databases aware.Taoup
Follow up to 0b83c8cc4db95812f1e15ca19d78614e94cf38dd.
2020-02-24Fixed #31292 -- Fixed django.contrib.gis.gdal.gdal_full_version() crash.Diederik van der Boor
2020-02-19Refs #31224 -- Added BaseHandler.check_response().Andrew Godwin
2020-02-19Fixed #31187 -- Fixed detecting of existing total ordering in admin ↵Fabio Sangiovanni
changelist when using Meta.constraints. Detection of existing total ordering in admin changelist now takes into account non-partial unique constraints.
2020-02-19Refs #31187 -- Added total_unique_constraints property to model's Options.Mariusz Felisiak
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵Claude Paroz
classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-02-18Refs #31282 -- Clarified M2O add/remove/set with PK behaviour.Carlton Gibson
Improved error message for remove() and added tests.
2020-02-18Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle.Mariusz Felisiak
This caused misplacing parameters in logged SQL queries. Regression in 79065b55a70cd220820a260a1c54851b7be0615a. Thanks Hans Aarne Liblik for the report.