summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-23Fixed #31200 -- Added system checks for permissions codenames max length.Michael Mulholland
2020-01-23Refs #31197 -- Added tests for combined expressions in CheckConstraint.check.Mariusz Felisiak
Thanks Adam Johnson for the report. Fixed in 306b6875209cfedce2536a6679e69adee7c9bc6a.
2020-01-22Clarified AppConfig.ready() docs example.Adam Johnson
2020-01-22Removed unused **kwargs from GEOSFuncFactory.__call__().Sergey Fedoseev
2020-01-22Removed unused *args and **kwargs from GEOSFuncFactory.__init__().Sergey Fedoseev
Follow-up to ff17ef1adab864d2c165d50501fa0b0684808d07.
2020-01-22Removed unneeded int() call in GEOSCoordSeq.__len__().Sergey Fedoseev
2020-01-22Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with ↵Eugene Hatsko
custom ContentType foreign key. Regression in dffa3e1992562ba60512d96d1eb5859ffff2ceb5.
2020-01-21Removed unused GEOSFuncFactory subclasses.Sergey Fedoseev
Unused since 2d18c60fbb1efcc980adfe875dadb02c749da509.
2020-01-21Fixed #31195 -- Relaxed GeometryDistance test for PROJ 5.2+.Sergey Fedoseev
2020-01-21Fixed #30274 -- Prevented segmentation fault on LineString iteration.Sergey Fedoseev
This reverts commit 138a78ec8cab5e1df0c8ba2a3ee895cb756ff1ae and adds a test for the regression.
2020-01-21Made examples concrete in upgrade documentation.Adam Johnson
2020-01-21Refs #29095 -- Added test for using QuerySet.count() with window expressions ↵Christopher G Johnson
ordered by related fields. Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5.
2020-01-20Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED ↵Tim Graham
together with PRECEDING and FOLLOWING".
2020-01-20Refs #31117 -- Made various tests properly handle unexpected databases aliases.Matthijs Kooijman
- Used selected "databases" instead of django.db.connections. - Made routers in tests.migrations skip migrations on unexpected databases. - Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook which properly asserts messages about skipped databases.
2020-01-20Changed re-raising an exception to use bare raise syntax where appropriate.Jon Dufresne
2020-01-20Fixed #31117 -- Isolated backends.base.test_creation.TestDbCreationTests.Matthijs Kooijman
Previously, this test could modify global state by changing connection.settings_dict. This dict is a reference to the same dict as django.db.connections.databases['default'], which is thus also changed. The cleanup of this test would replace connection.settings_dic` with a saved copy, which would leave the dict itself modified. Additionally, create_test_db() would also modify these same dicts, as well as settings.databases['default']['NAME'] by adding a "test_" prefix, which is what can cause problems later. This patch: - makes a complete copy of the connection and work on that, to improve isolation. - calls destroy_test_db() to let that code clean up anything done by create_test_db().
2020-01-20Refs #31117 -- Moved get_connection_copy() test hook to a module level.Mariusz Felisiak
2020-01-20Fixed #31142 -- Fixed MakeValid.output_field when geometry type is changed.Sergey Fedoseev
Regression in 2ef4b4795e29be8c33a6de9cc0c05b59025d13a5.
2020-01-18Fixed field default in dates tests.Mariusz Felisiak
2020-01-17Added missing backtick in instances docs.Claude Paroz
2020-01-17Optimized ModelAdmin._changeform_view() by avoiding multiple get_fieldsets() ↵Daniel Hahler
calls. Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-01-17Added note about incomplete HTML in tutorial 3.Adam Johnson
2020-01-17Refs #30752 -- Doc'd error reporting related optional request attributes.Carlton Gibson
2020-01-17Fixed #31166 -- Used "raise from" when raising ImproperlyConfigured ↵Ram Rachum
exceptions in django.urls.resolvers. This change sets the __cause__ attribute to raised exceptions and makes small cleanups in error messages.
2020-01-17Fixed #31171 -- Fixed wording in auto-escaping section of custom template ↵Takayuki Hirayama
tags docs.
2020-01-16Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.Pavel Lysak
2020-01-16Added apps.py to project from tutorials in reusable apps docs.Anael Mobilia
2020-01-16Fixed #31162 -- Prevented error logs when using WKT strings in lookups.Mariusz Felisiak
Thanks dbxnr for the initial patch. Regression in 6f44f714c92d2966dca390ebd3054e5fb0bb0c80.
2020-01-16Fixed #30765 -- Made cache_page decorator take precedence over max-age ↵Flavio Curella
Cache-Control directive.
2020-01-16Used constant instead of hard-coded value for recursive relationship.Adam Johnson
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
We assumed that any OneToOneField's in a child model must be the parent link and raised an error when parent_link=True was not specified. This patch allows to specify multiple OneToOneField's to the parent model. OneToOneField's without a custom related_name will raise fields.E304 and fields.E305 so this should warn users when they try to override the auto-created OneToOneField.
2020-01-15Clarified backport policy for regressions.Carlton Gibson
2020-01-15Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ↵Carlton Gibson
choices. Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a
2020-01-15Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.Mariusz Felisiak
2020-01-15Fixed obsolete comment in django.utils.crypto.salted_hmac().Mariusz Felisiak
Obsolete since 13864703bc1d5dd4dac63c96c6a4b42a392bc57f.
2020-01-15Refs #27468 -- Added explicit tests for django.utils.crypto.salted_hmac()Claude Paroz
2020-01-15Refs #31136 -- Made QuerySet.values()/values_list() group only by selected ↵Mariusz Felisiak
annotation. Regression in 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4.
2020-01-15Fixed #29871 -- Allowed setting pk=None on a child model to create a copy.chetan22
Thanks Simon Charette and Tim Graham for the initial patch.
2020-01-14Refs #31097 -- Added release notes for 2f565f84aca136d9cc4e4d061f3196ddf9358ab8.Carlton Gibson
.
2020-01-14Fixed <span> nesting in technical 500 template.Daniel Hahler
2020-01-13Fixed typo in docs/ref/django-admin.txt.Daniel Hahler
2020-01-13Fixed #31160 -- Fixed admin CSS for ordered lists' descendants in unordered ↵Owen T. Heisler
list.
2020-01-11Removed unused ExceptionReporterFilter class.Carlton Gibson
Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593.
2020-01-11Fixed #31155 -- Fixed a system check for the longest choice when a named ↵Mariusz Felisiak
group contains only non-string values. Regression in b6251956b69512bf230322bd7a49b629ca8455c6. Thanks Murat Guchetl for the report.
2020-01-10Fixed #30980 -- Improved error message when checking uniqueness of admin ↵Adam Donaghy
actions' __name__. Thanks Keshav Kumar for the initial patch.
2020-01-10Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter.Carlton Gibson
Co-authored-by: Ryan Castner <castner.rr@gmail.com>
2020-01-10Refs #23004 -- Allowed exception reporter filters to customize settings ↵Carlton Gibson
filtering. Thanks to Tim Graham for the original implementation idea. Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com>
2020-01-10Fixed #31154 -- Added support for using enumeration types in templates.Adam Johnson
Enumeration helpers are callables, so the template system tried to call them with no arguments. Thanks Rupert Baker for helping discover this.
2020-01-09Added file cleanup in FileFieldTests.test_pickle().Carlton Gibson
2020-01-09More accurate terminology ("logger" instead of "logging handler") in logging ↵Kal Sze
documentation.