summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-25Doc'd SpatiaLite support of 3D geometry fields.Sergey Fedoseev
Support was added in 65129aac07022f23afa1df7ec7fad2216634cb38.
2019-11-25Removed unused unencoded_ampersands_re regex.Baptiste Mispelon
Unused since 8b81dee60c1533e714a310fa5c3907356042a64c.
2019-11-25Refs #25388 -- Corrected value of TEST MIGRATE setting in MIGRATION_MODULES ↵Jon Dufresne
docs.
2019-11-25Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.Baptiste Mispelon
2019-11-22Fixed #30996 -- Added AsWKB and AsWKT GIS functions.Sergey Fedoseev
2019-11-22Fixed #9762 -- Made DateFormat.r() locale-independent.Baptiste Mispelon
Thanks to Antonio Melé for the original report all those years ago and to all the contributors who helped along the way.
2019-11-22Refs #26281 -- Added a helpful error message for an invalid "r" specifier to ↵Baptiste Mispelon
dateformat.format().
2019-11-22Fixed #8467 -- Prevented crash when adding existent m2m relation with an ↵Simon Charette
invalid type. This was an issue anymore on backends that allows conflicts to be ignored (Refs #19544) as long the provided values were coercible to the expected type. However on the remaining backends that don't support this feature, namely Oracle, this could still result in an IntegrityError. By attempting to coerce the provided values to the expected types in Python beforehand we allow the existing value set intersection in ManyRelatedManager._get_missing_target_ids to prevent the problematic insertion attempts. Thanks Baptiste Mispelon for triaging this old ticket against the current state of the master branch.
2019-11-22Refs #8467 -- Added test for RelatedManager.add()/remove() with an invalid type.Simon Charette
2019-11-21Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required ↵Carlton Gibson
SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation.
2019-11-21Fixed #30413 -- Fixed test database signature on SQLite when test database ↵Farhaan Bukhsh
name is provided. Previously, the same signature was created for multiple in-memory databases on SQLite when they had tests databases names DATABASES['TEST']['NAME'].
2019-11-21Simplified TemplateDetailView with pathlib.Path.read_text().Jon Dufresne
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional ↵Simon Charette
expressions.
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-21Refs #25367 -- Moved conditional expression wrapping to the Exact lookup.Simon Charette
2019-11-21Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).Simon Charette
This prevent having to pass simple_col through multiple function calls by defining whether or not references should be resolved with aliases at the Query level.
2019-11-21Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.Hasan Ramezani
2019-11-21Made versionadded/versionchanged annotations without a content end with ".".Sergey Fedoseev
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
2019-11-20Fixed #25388 -- Added an option to allow disabling of migrations during test ↵Jon Dufresne
database creation.
2019-11-20Fixed #31008 -- Fixed typos in docs/topics/logging.txt.Mariusz Felisiak
2019-11-20Pinned asgiref version.Carlton Gibson
2019-11-20Fixed #27164 -- Fixed an example of using routers in multiple databases docs.Caio Ariede
Make sure that AuthRouter includes ContentType in the same database.
2019-11-19Fixed #30981 -- Fixed admin changelist crash when using F() or OrderBy() ↵Hasan Ramezani
expressions in admin_order_field.
2019-11-19Added stub release notes for 2.1.15.Mariusz Felisiak
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵Daniel Izquierdo
deletions while protecting direct ones.
2019-11-19Refs #27272 -- Added Collector.add_dependency().Daniel Izquierdo
2019-11-19Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.Hasan Ramezani
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-11-18Expanded API stability docs to include our policy of continual improvement.Luke Plant
2019-11-18Fixed #30994 -- Added Oracle support for AsGeoJSON GIS function.Sergey Fedoseev
2019-11-18Replaced encode() usage with bytes literals.Jon Dufresne
2019-11-18Replaced unnecessary str()/bytes() calls with literals.Jon Dufresne
2019-11-18Removed unnecessary parentheses in various code.Jon Dufresne
2019-11-18Fixed #30988 -- Deprecated the InvalidQuery exception.Simon Charette
It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature.
2019-11-18Fixed #30989 -- Removed unimplemented B time format.Baptiste Mispelon
It's never been documented and has always raised a NotImplementedError.
2019-11-18Relaxed some query ordering assertions in tests.Tim Graham
It accounts for differences seen on cockroachdb.
2019-11-18Simplified DateFormat.W() and z().Baptiste Mispelon
2019-11-18Fixed #30990 -- Fixed example output in 'z' date format docs.Baptiste Mispelon
2019-11-18Refs #30990 -- Added test for 'z' date format with a leap year.Baptiste Mispelon
2019-11-18Replaced QueryWrapper single usage with RawSQL.Simon Charette
2019-11-18Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL ↵Mariusz Felisiak
expressions on Oracle.
2019-11-18Removed hardcoded pk in view_tests.tests.test_defaults.Tim Graham
2019-11-18Removed hardcoded pk in test_pk_set_on_repeated_add_remove.Tim Graham
Follow up to bed4a1527b4f1f38c8b4f820de5591a52e62711d.
2019-11-15Refs #29808 -- Fixed ↵Mariusz Felisiak
MigrateTests.test_migrate_fake_initial_case_insensitive() crash on Oracle.
2019-11-15Fixed #29808 -- Fixed initial migration detection when identifiers are ↵Hasan Ramezani
case-insensitive. Thanks Simon Charette for the review.
2019-11-15Refs #29808 -- Optimized MigrationExecutor.detect_soft_applied().Hasan Ramezani
Use set() for iterables used only for containment checks. Simplify column checks O(n) instead of O(2n). Thanks Simon Charette for an idea.
2019-11-14Fixed #29916 -- Added lower_inc, lower_inf, upper_inc, and upper_inf lookups ↵Dulmandakh
for RangeFields. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-11-14Fixed #30759 -- Made cache.delete() return whether it succeeded.daniel a rios
Thanks Simon Charette for the review.
2019-11-13Fixed #30941 -- Reverted "Simplified AuthenticationMiddleware a bit."Mariusz Felisiak
This reverts commit 2f010795e690550c8c6f56b3924c0f629cacb33b.