summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2020-01-31Fixed #31219 -- Fixed object deletion crash for nested protected related ↵Matthias Kestenholz
objects.
2020-01-30Added tests for signing non-string values and updated docs.Claude Paroz
2020-01-30Replaced assertWarns() with SimpleTestCase.assertWarnsMessage() in tests.Hasan Ramezani
2020-01-29Simplified DeferredAttribute.__get__() a bit.Taoup
2020-01-29Fixed #28290 -- Enabled Sphinx auto-label generation for title and section ↵Abhijeet
headers.
2020-01-29Used model's Options.label/label_lower where applicable.Mariusz Felisiak
2020-01-29Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.Abhijeet
2020-01-29Removed "Pocket PC" from terminal color support function.Nick Pope
Introduced over 13 years ago in 9bea530c33e, Pocket PC was surpassed by Windows Mobile, then Windows Phone, which has since been retired. The value "Pocket PC" isn't documented as a value for ``sys.platform`` and it isn't clear whether it ever worked. There are no tests for this.
2020-01-29Updated the GeoJSON format specification link to RFC 7946.Mariusz Felisiak
2020-01-29Refs #25778 -- Updated some links to HTTPS and new locations.Mariusz Felisiak
2020-01-29Refs #27852 -- Fixed object deletion to show all restricted related objects ↵Hasan Ramezani
rather than just the first one.
2020-01-29Refs #27852 -- Renamed a loop variable in Collector.collect() to avoid ↵Mariusz Felisiak
redefinition.
2020-01-29Made token tests in auth_tests use assertIs() rather than assertTrue/False().Jon Dufresne
2020-01-29Fixed #31211 -- Added SearchConfig expression.Hannes Ljungberg
Thanks Simon Charette for the review.
2020-01-29Fixed #31212 -- Updated psycopg links to HTTPS and new location.Jon Dufresne
2020-01-29Refs #25778 -- Updated sphinx-doc.org links to HTTPS.Jon Dufresne
2020-01-28Fixed #22261 -- Fixed resolving namespaced URLs for flatpages.Hasan Ramezani