summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-20Refs #31784 -- Added test for preventing header injection in display name of ↵Mariusz Felisiak
email addresses.
2020-07-17Bumped asgiref requirement to >= 3.2.10.Mariusz Felisiak
Forwardported 3.1 release notes from 474f65406fe2e568482d83db2ea94c0409afa039.
2020-07-17Improved ManyToManyField.through docs.Adam Johnson
2020-07-17Fixed #31731 -- Removed unreachable code for resetting sequences of ↵Ravindar Sharma
auto-created m2m tables in sequence_reset_sql(). Unreachable because f.remote_field.through is truthy for all m2m fields. Resetting sequences of auto-created m2m tables in sequence_reset_sql() is also unnecessary: - in sqlsequencereset since c39ec6dccb389fbb4047e44f5247e18bb76ae598 because auto-created tables are included in model_list, - in loaddata because there is no it need to reset sequences for models not loaded directly. - in create_default_site() because it doesn't have m2m fields.
2020-07-16Refs #31502 -- Made minor edits to Model._state docs.Adam Johnson
2020-07-16Fixed typo in DecimalValidator tests.Claudio Catterina
This replaces redundant test for -Infinity with +Infinity.
2020-07-16Fixed #31623 -- Allowed specifying number of adjacent time units in ↵Tim Park
timesince()/timeuntil().
2020-07-16Stopped adapting DecimalField values to strings on Oracle.Mariusz Felisiak
cx_Oracle handles decimal.Decimal. expressions_case.tests.CaseExpressionTests.test_update_decimal fails without this change. Follow up to 9c5c9bd7091b60fdccc405890dc4f44a8010e954.
2020-07-16Refs #31790 -- Removed incorrect item from 2.2.15 and 3.0.9 release notes.Mariusz Felisiak
Django 2.2 and 3.0 don't support settings samesite='None' in HttpResponse.set_cookie() so fix is not necessary and will not be backported.
2020-07-16Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in ↵Mariusz Felisiak
HttpResponse.delete_cookie(). Cookies with the "SameSite" flag set to None and without the "secure" flag will be soon rejected by latest browser versions. This affects sessions and messages cookies.
2020-07-15Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests.Simon Charette
2020-07-15Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette
This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that.
2020-07-15FIxed typo in docs/ref/contrib/postgres/forms.txt.Eric Theise
2020-07-14Added admin translatable string.Claude Paroz
Forward port of dda8a2aa1d31a4dc818a6950565811c7f32d352a from stable/3.1.x.
2020-07-14Added Igbo language.Kelechi Precious Nwachukwu
2020-07-14Refs #30446 -- Defined output_field of BoundingCircle() GIS database function.Simon Charette
This prevented the default behavior of BaseExpression._resolve_output_field from error'ing out when such functions accepted both expressions from mixed types (e.g. BoundingCircle(Polygon, num_seg=12)).
2020-07-14Stopped adapting DecimalField values to strings on PostgreSQL.Simon Charette
The psycopg2 backend uses the type information to provide type hints.
2020-07-14Refs #25425 -- Allowed unresolved Value() instances to be compiled.Simon Charette
Previously unresolved Value() instances were only allowed to be compiled if they weren't initialized with an output_field. Given the usage of unresolved Value() instances is relatively common in as_sql() overrides it's less controversial to add explicit support for this previously undefined behavior now and revisit whether or not it should be deprecated in the future.
2020-07-13Fixed #21528 -- Added note about filtering form field's queryset based on ↵Caio Ariede
instance to admin docs.
2020-07-13Fixed #30457 -- Added TestCase.captureOnCommitCallbacks().Adam Johnson
2020-07-13Fixed #31770 -- Allowed select_for_update(of) on MySQL 8.0.1+.Simon Charette
2020-07-13Fixed #31674 -- Made technical 500 debug page respect __suppress_context__.Tom Forbes
2020-07-10Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.ovkulkarni
2020-07-10Refs #27430 -- Added buffer argument to DiscoverRunner docs.Mariusz Felisiak
2020-07-10Refs #30676 -- Added pdb argument to DiscoverRunner docs.Mariusz Felisiak
2020-07-10Refs #30578 -- Made SelectDateWidget.format_value() independent of USE_L10N.Claude Paroz
2020-07-10Sorted conflicting migrations by names.François Freitag
2020-07-10Corrected custom model fields how-to.Ramiro Morales
get_prep_value() method is complementary of from_db_value(). Follow up to e9103402c0fa873aea58a6a11dba510cd308cb84.
2020-07-09Fixed #29789 -- Added support for nested relations to FilteredRelation.matt ferrante
2020-07-09Used urllib.parse.urljoin() in auth_tests to join URLs.Jon Dufresne
As the strings represent URLs and not paths, should use urllib to manipulate them.
2020-07-09Fixed #31773 -- Fixed preserving output_field in ExpressionWrapper for ↵Mariusz Felisiak
combined expressions. Thanks Thodoris Sotiropoulos for the report and Simon Charette for the implementation idea. Regression in df32fd42b84cc6dbba173201f244491b0d154a63.
2020-07-08Removed unsupported third-party database backends from docs.Carlton Gibson
2020-07-08Refs #30400 -- Improved typography in debug and csrf templates.Jon Dufresne
2020-07-08Fixed #31573 -- Made QuerySet.update() respect ordering on MariaDB/MySQL.davidchorpash
2020-07-08Fixed #31739 -- Documented dependency between HttpRequest stream IO methods ↵Tim Park
and body.
2020-07-08Fixed #31502 -- Documented Model._state.db and Model._state.addingTim Park
2020-07-08Added Turkmen language.Resulkary
2020-07-08Fixed #24816 -- Clarified docs about preventing duplicate signals.Jason Held
2020-07-07Fixed #31767 -- Fixed QuerySet.none() on combined queryset.Mariusz Felisiak
2020-07-07Fixed #31713 -- Added SpatialReference support to GDALRaster.transform().rico-ci
2020-07-06Refs #26445 -- Allowed using UserManager.create_user()/create_superuser() in ↵Hasan Ramezani
migrations. Used app config to lookup user model in _create_user(). Thanks Markus Holtermann for the review and initial patch. Thanks Simon Charette for the implementation idea.
2020-07-06Fixed #31732 -- Cached callables signatures in django.utils.inspect methods.Tim Park
2020-07-06Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column.Jacob Walls
2020-07-06Fixed #31530 -- Added system checks for invalid model field names in ↵Hasan Ramezani
CheckConstraint.check and UniqueConstraint.condition.
2020-07-04Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.Jacob Walls
2020-07-04Simplified <body> element references in DateTimeShortcuts.js.Jon Dufresne
2020-07-03Refs #12990 -- Added example to JSONField release notes.Tom Forbes
2020-07-03Adjusted multi-db example to avoid confusion with DATABASES keys.MansurAliKoroglu
2020-07-03Removed duplicated sqlite3 converter.Sergey Fedoseev
Converters typenames are case-insensitive. See https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter.
2020-07-03Fixed #30945 -- Doc'd plural equations changes in 2.2. release notes.David Smith