summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2020-02-04Fixed #31210 -- Doc'd how to reproduce HttpRequest.is_ajax() in release notes.Adam Johnson
2020-02-04Fixed typo in docs/releases/3.1.txt.Adam Johnson
2020-02-04Updated Python license for 2020.Mariusz Felisiak
2020-02-04Refs #27604 -- Fixed loading of legacy cookie hashes when ↵Florian Apolloner
CookieStorage.key_salt is changed. This partially reverts bcc9fa25285f506666fa5074fc43c7114d61bb79 to not break legacy hashes when key_salt is actually changed.
2020-02-04Fixed #27604 -- Used the cookie signer to sign message cookies.Claude Paroz
Co-authored-by: Craig Anderson <craiga@craiga.id.au>
2020-02-04Refs #27604 -- Added CookieStorage.key_salt to allow customization.Claude Paroz
2020-02-03Fixed #31226 -- Fixed typo in ↵Vibhu Agarwal
docs/internals/contributing/writing-code/submitting-patches.txt.
2020-02-03Fixed #31222 -- Fixed typo in docs/internals/contributing/bugs-and-features.txt.Vibhu Agarwal
2020-02-03Added stub release notes for 3.0.4.Carlton Gibson
2020-02-03Added CVE-2020-7471 to security archive.Carlton Gibson
2020-02-03Added release date for 3.0.3.Carlton Gibson
2020-02-03Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter.Simon Charette
2020-02-03Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected ↵Mariusz Felisiak
annotations with aggregations used in order_by(). Regression in 59b4e99dd00b9c36d56055b889f96885995e4240. Thanks Jon Dufresne for the report and Simon Charette for the review.
2020-01-31Updated translations from Transifex.Claude Paroz
Forwardport of ca4f87027e2ed32cb272a1823c9ce4104b02d830 from stable/3.0.x
2020-01-31Refs #30943 -- Fixed postgres_tests on PostgreSQL 9.5.Mariusz Felisiak
Bloom extension is available on PostgreSQL 9.6+.
2020-01-31Used temporary directory in FileFieldTests.test_pickle().Mariusz Felisiak
Using the current directory caused a PermissionError.
2020-01-31Cached ForeignObject.(local/foreign/reverse)_related_fields properties.Adam Johnson
2020-01-31Refs #22426 -- Removed pre-Django 1.5 messages compatibility code and test.Claude Paroz
This reverts commit f286721f7fdc2202f77a5f4d650d9d0779b86811.
2020-01-31Fixed 31207 -- Prevented references to non-local remote fields in ↵Hasan Ramezani
ForeignKey.to_field. Thanks Simon Charette for the initial patch and review.