summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-26Refs #23919 -- Replaced super(ASGIHandler, self) with super().Jon Dufresne
2019-08-26Fixed typo in tests/prefetch_related/tests.py comment.Tim Gates
2019-08-23Fixed #29955 -- Added support for distance expression to the dwithin lookup.Simon Charette
This was missed when adding support to other distance lookups in refs #25499. Thanks Peter Bex for the report and Mariusz for testcases.
2019-08-23Fixed broken OracleDbshellTests tests after ↵Mariusz Felisiak
9386586f31b8a0bccf59a1bff647cd829d4e79aa.
2019-08-23Fixed #30507 -- Updated admin's jQuery to 3.4.1.Dulmandakh
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-08-23Fixed typos in test names and a comment.Min ho Kim
2019-08-23Fixed #30715 -- Fixed crash of ArrayField lookups on ArrayAgg annotations ↵Mariusz Felisiak
over AutoField.
2019-08-23Reduced code duplication in ArrayField's lookups.Mariusz Felisiak
2019-08-23Fixed typo in docs/ref/applications.txt.Ali Mirlou
2019-08-22Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson
2019-08-22Fixed #30712 -- Allowed BLOB/TEXT defaults on MySQL 8.0.13+.Nasir Hussain
2019-08-22Added header to README.rst.Kshithij Iyer
2019-08-21Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵Mads Jensen
operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-21Fixed broken links and redirects in documentation.François Freitag
Removed reference to custom builds, feature removed in https://github.com/openlayers/openlayers/commit/8e6b3bba994f5908e51c492ac314240863178789.
2019-08-20Fixed #30695 -- Used relative path in default_storage docs example.Harrison88
2019-08-20Fixed #29667 -- Prohibited whitespaces in path() URLs.Hasan Ramezani
2019-08-20Corrected typo in search docs. (#11673)Dan Swain
2019-08-20Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵Nick Pope
and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField.
2019-08-19Moved migrations.test_operations.OperationTestBase to migrations.test_base.Mads Jensen
Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-19Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary ↵Hasan Ramezani
key that has a default.
2019-08-19Fixed #30693 -- Removed separate import of os.path in ↵Maaz Bin Tahir Saeed
django.core.management.templates.
2019-08-19Removed outdated examples of flatpages served sites.Garry Polley
Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/
2019-08-19Fixed broken links and redirects to OGR library in docs.Mariusz Felisiak
2019-08-19Fixed broken links to Dive Into Python 3 book.bcye
2019-08-18Refs #28428 -- Made FileField.upload_to support pathlib.Path.Claude Paroz
2019-08-18Refs #28428 -- Added test for a callable FileField.upload_to that returns ↵Claude Paroz
pathlib.Path.
2019-08-18Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.Claude Paroz
2019-08-17Fixed #29545 -- Fixed using filter lookups againts nested subquery expressions.Simon Charette
Made sql.Where resolve lhs of its child nodes. This is necessary to allow filter lookups against nested subquery expressions to properly resolve their OuterRefs to Cols. Thanks Oskar Persson for the simplified test case.
2019-08-17Fixed #30694 -- Documented FileResponse does not seek its file source.Claude Paroz
2019-08-16Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according ↵Adnan Umer
to RFC 7231.
2019-08-16Fixed #27676 -- Allowed BLOB/TEXT defaults on MariaDB 10.2.1+.Adam Johnson
2019-08-16Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups.Andrew Brown
2019-08-15Refs #30449 -- Made RelatedOnlyFieldListFilter respect ModelAdmin.ordering.zeyneloz
2019-08-15Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to ↵zeyneloz
respect model's Meta.ordering. Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-08-14Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on ↵Mariusz Felisiak
expressions with params. Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387. Thanks Florian Apolloner for the report and helping with tests.
2019-08-14Optimized Field.deconstruct() by using elif.Mads Jensen
2019-08-13Fixed #30461 -- Made GeoIP2 and GEOIP_PATH setting accept pathlib.Path as ↵Claude Paroz
library path. Thanks Nikita Krokosh for the initial patch.
2019-08-13Refs #30461 -- Added django.utils._os.to_path().Claude Paroz
2019-08-13Fixed #30704 -- Fixed crash of JSONField nested key and index transforms on ↵Mariusz Felisiak
expressions with params. Thanks Florian Apolloner for the report and helping with tests.
2019-08-13Refs #25367 -- Moved Oracle Exists() handling to contextual methods.Simon Charette
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the following cases. 1. When part of a SELECT clause. 2. When part of a ORDER BY clause. 3. When compared against another expression in the WHERE clause. This commit moves the systematic CASE WHEN wrapping of Exists.as_oracle to contextual .select_format, Lookup.as_oracle, and OrderBy.as_oracle methods in order to avoid unnecessary wrapping.
2019-08-13Refs #25367 -- Moved select_format hook to BaseExpression.Simon Charette
This will expose an intermediary hook for expressions that need special formatting when used in a SELECT clause.
2019-08-12Corrected multiple typos.Min ho Kim
2019-08-12Switched to use `HTTP_X_FORWARDED_PROTO` custom header in tests. Min ho Kim
This is the conventional name: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
2019-08-12Refs #25367 -- Added test for Exists() lookup rhs.Simon Charette
2019-08-12Refs #24793 -- Removed bogus connection argument from SQLCompiler.compile() ↵Simon Charette
calls. The method doesn't expect a connection object to be passed as its second argument.
2019-08-12Refs #11964 -- Made constraint support check respect required_db_features.Simon Charette
This will notably silence the warnings issued when running the test suite on MySQL.
2019-08-12Refs #23879 -- Made introspection respect required_db_features.Simon Charette
2019-08-11Fixed #30677 -- Improved error message for urlencode() and Client when None ↵swatantra
is passed as data.
2019-08-11Fixed #30696 -- Removed obsolete mention of CheckConstraint in the ↵Akash Agrawal
AddConstraint docs. Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.