summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-19Fixed tests when run in reverse.Mariusz Felisiak
Regression in 98f23a8af0be7e87535426c5c83058e2682bfdf8.
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-19Removed duplicate tests in ChangeListTests.test_total_ordering_optimization().Fabio Sangiovanni
2020-02-19Fixed typos in docs and a test comment.Yoo In Keun
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 #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.Carlton Gibson
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.
2020-02-18Fixed #31228 -- Reallowed aggregates to be used with multiple expressions ↵Taoup
and no DISTINCT on SQLite. Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111. Thanks Andy Terra for the report.
2020-02-18Fixed #20995 -- Added support for iterables of template names to {% include ↵Keshav Kumar
%} template tag. Thanks Adam Johnson for the review.
2020-02-17Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table ↵Xavier Francisco
collision when database routers are installed. Turned the error into a warning when database routers are installed.
2020-02-14Fixed #26552 -- Deferred constraint checks when reloading the database with ↵Matthijs Kooijman
data for tests. deserialize_db_from_string() loads the full serialized database contents, which might contain forward references and cycles. That caused IntegrityError because constraints were checked immediately. Now, it loads data in a transaction with constraint checks deferred until the end of the transaction.
2020-02-14Removed unused and incorrect PossessedCar.__str__() method in test_utils.Mariusz Felisiak
PossessedCar doesn't have a color.
2020-02-14Removed redundant MiddlewareTest.test_old_style_request() test.Claude Paroz
CurrentSiteMiddleware.process_request() is already covered by MiddlewareTest.test_request().
2020-02-14Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.Hasan Ramezani
2020-02-13Enabled "GitHub Sponsors".Mariusz Felisiak
2020-02-13Removed unused cache.tests.CacheUtils._set_cache().Claude Paroz
Unused since its introduction in 71a03e01aa19cbde08e915d156abf39b67d904ef.
2020-02-13Fixed #31250 -- Ignored processing instructions in ↵yura
assertXMLEqual()/assertXMLNotEqual().
2020-02-13Fixed #31267 -- Added tests cases with empty username or password for ↵Dennis Schwertel
URLValidator. Follow up to cdcf4164bec9dc09465424d7042c3f9d4f0f1fdc.
2020-02-13Fixed #30261 -- Prevented Form._html_output() from mutating errors if hidden ↵Hasan Ramezani
fields have errors.
2020-02-12Refs #27468 -- Made PasswordResetTokenGenerator use SHA-256 algorithm.Claude Paroz
2020-02-12Removed unnecessary token regex in auth_tests URLs.Claude Paroz
All URLs in django.contrib.auth use a "<uidb64>/<token>" pattern.
2020-02-12Fixed #31241 -- Clarified porting translations of the Django docs to ↵Takuya Noguchi
docs.djangoproject.com.
2020-02-11Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) ↵Abhijeet Viswa
for related fields and parent link fields with multi-table inheritance. Partly regression in 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
2020-02-11Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.Florian Apolloner
Thanks to Oskar Persson for the report.
2020-02-11Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes ↵Florian Apolloner
file-like object." This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9.
2020-02-11Fixed #31253 -- Fixed data loss possibility when using caching from async code.Jon Dufresne
Case missed in a415ce70bef6d91036b00dd2c8544aed7aeeaaed.
2020-02-10Fixed #30846 -- Made PostGIS backend respect Index's name argument.=Pratik Kumar
2020-02-10Fixed #31248 -- Added missing space before USING SQL on PostGIS.Hannes Ljungberg
2020-02-10Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create().Adam Johnson
2020-02-10Added stub release notes for 2.2.11.Mariusz Felisiak
2020-02-10Added "Bugfixes" section to release notes for 3.0.4.Mariusz Felisiak
2020-02-08Refs #31055 -- Fixed Model.check() call in ↵Mariusz Felisiak
ConstraintsTests.test_check_constraints_required_db_features().
2020-02-07Used assertRaisesMessage() in various tests.Hasan Ramezani
2020-02-07Fixed #31055 -- Made constraint checks support databases aware.Simon Charette
2020-02-07Refs #31055 -- Made DiscoverRunner skip running system checks on unused test ↵Simon Charette
databases.
2020-02-07Refs #31055 -- Added --database option to the check management command.Simon Charette
This avoids enabling the ``database`` checks unless they are explicitly requested and allows to disable on a per-alias basis which is required when only creating a subset of the test databases. This also removes unnecessary BaseCommand._run_checks() hook.
2020-02-07Closed caches in clear_cache_handlers() signal handler.Jon Dufresne
This also fixes ResourceWarnings about unclosed sockets emitted in cache.tests.
2020-02-06Fixed #31233 -- Closed database connections and cursors after use.Jon Dufresne
2020-02-06Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor().Jon Dufresne
It is now a method instead of a property and returns a context manager that yields a cursor on entry and closes the cursor and connection upon exit.
2020-02-06Fixed typo in tests/model_inheritance/tests.py.Nikita Sobolev
2020-02-06Refs #31233 -- Added "error" filter for RuntimeWarning during tests.Jon Dufresne
2020-02-06Fixed #28528 -- Allowed combining SearchVectors with different configs.adamb70
2020-02-05Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.Adam Johnson
2020-02-05Refs #28214 -- Added test for escaping JSONField key lookups.Mariusz Felisiak
Thanks mrsanders for the report. Fixed in 7deeabc7c7526786df6894429ce89a9c4b614086.
2020-02-05Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.Adam Johnson
2020-02-05Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect ↵Hasan Ramezani
for fields with blank=False.
2020-02-05Refs #26813 -- Added test for ModelChoiceField.choices when using ↵Mariusz Felisiak
RadioSelect widget.