summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2018-12-24Fixed #30056 -- Added SQLite support for StdDev and Variance functions.Nick Pope
2018-12-24Fixed #20098 -- Added a check for model Meta.db_table collisions.Sanyam Khurana
2018-12-22Renamed Sqlite and Sqlite3 references to SQLite.Nick Pope
2018-12-22Fixed #29970, #30041 -- Made ModelBase.__new__() pass attrs without ↵Sergey Fedoseev
contribute_to_class() to type.__new__().
2018-12-22Fixed #30054 -- Implemented cascaded flush on SQLite.Simon Charette
This is required to maintain foreign key integrity when using TransactionTestCase.available_apps. Refs #30033, #14204, #20483.
2018-12-22Fixed #30055 -- Dropped support for SQLite < 3.8.3.Tim Graham
2018-12-22Refs #30033 -- Checked constraints before committing SQLite schema changes.Simon Charette
This order of operations is more in line with SQLite's documented table rebuild procedure and ensures that changes aren't committed if foreign key integrity is broken.
2018-12-22Refs #29928 -- Added supports_pragma_foreign_key_check SQLite feature flag.Simon Charette
2018-12-22Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag.Simon Charette
2018-12-22Refs #29182 -- Corrected SQLite's supports_atomic_references_rename feature ↵Simon Charette
flag.
2018-12-22Refs #29547 -- Corrected SQLite's supports_partial_indexes feature flag.Simon Charette
2018-12-22Renamed SQLite3 references to to SQLite.Simon Charette
The version suffix isn't part of the product name.
2018-12-21Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag
2018-12-21Fixed #29995 -- Used higher contrast colors in debug page.Zach Garwood
2018-12-21Removed an overridden CSS rule in debug page.Tim Graham
2018-12-21Fixed #29792 -- Made GeometryField.deconstruct() handle 'extent' and ↵jtiai
'tolerance' args.
2018-12-21Fixed Polish MONTH_DAY_FORMAT.wiktorkuchta
2018-12-20Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments.Carlton Gibson
2018-12-19Replaced loop with dictionary comprehension.Toivo Mattila
2018-12-19Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations.Dakota Hawkins
2018-12-19Fixed #30015 -- Ensured request body is properly consumed for keep-alive ↵Konstantin Alekseev
connections.
2018-12-17Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+.Simon Charette
Refs #11665, #14204. Thanks Michel Samia for the report.
2018-12-17Refs #29182 -- Stopped relying on legacy alter table semantic on SQLite 3.26+.Simon Charette
SQLite 3.26 changed the behavior of table and column renaming operations to repoint foreign key references even if foreign key checks are disabled. This makes the workarounds in place to simulate this behavior unnecessary on SQLite 3.26+. Refs #30033.
2018-12-17Fixed #30033 -- Conformed to the recommended table alterations procedure on ↵Simon Charette
SQlite3. Refs #29182. The previous implementation was following a procedure explicitly documented as incorrect and was the origin of the breakage experienced on SQLite 3.26 release that were addressed by c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f. Thanks to Richard Hipp for pointing out the usage of the incorrect procedure.
2018-12-17Refs #29928 -- Implemented fast constraint checking on SQLite 3.20+.Simon Charette
2018-12-16Fixed typo in contrib.gis variable name.HyunTae Hwang
2018-12-15Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵Simon Charette
are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-10Refs #28670 -- Fixed DatabaseFeatures.supports_slicing_ordering_in_compound ↵Mariusz Felisiak
on Oracle.
2018-12-07Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.Simon Charette
SQLite 3.26 repoints foreign key constraints on table renames even when foreign_keys pragma is off which breaks every operation that requires a table rebuild to simulate unsupported ALTER TABLE statements. The newly introduced legacy_alter_table pragma disables this behavior and restores the previous schema editor assumptions. Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and troubleshooting assistance.
2018-12-06Fixed #28766 -- Added ResolverMatch.route.Benjamin Wohlwend
Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2018-12-06Fixed #29932 -- Fixed combining compound queries with sub-compound queries ↵Mariusz Felisiak
on SQLite and Oracle.
2018-12-06Fixed #29986 -- Added .format() support to ngettext_lazy strings.Patrick Arminio
2018-12-06Fixed #30011 -- Fixed queries that reuse filtered aggregates.Simon Charette
Thanks Taqi Abbas and Raphael Kimmig for the report.
2018-12-06Bumped mysqlclient requirement to >= 1.3.13.Tim Graham
There are test failures with older versions.
2018-12-06Fixed #30003 -- Added usable entry point in default manage.py.jpic
2018-12-05Reverted "Fixed #25251 -- Made data migrations available in ↵Tim Graham
TransactionTestCase when using --keepdb." This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and 9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures for which a solution isn't forthcoming.
2018-12-05Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with ↵Tim Graham
mysqlclient 1.3.14+.
2018-12-03Fixed #29930 -- Allowed editing in admin with view-only inlines.Carlton Gibson
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-11-30Refs #28643 -- Skipped ATan2() workaround on SpatiaLite 5+.Nick Pope
2018-11-30Fixed #30001 -- Marked UUIDField.description for translation.Prabakaran Kumaresshan
2018-11-30Fixed #29987 -- Detected unmanaged model deletions.Tim Fiedler
2018-11-30Fixed #29997 -- Allowed combining SearchQuerys with different configs.Jaap Roes
Seems to be a needless restriction in 978a00e39fee25cfa99065285b0de88366710fad.
2018-11-29Refs #25251 -- Filtered out skipped tests when processing the test suite to ↵romgar
set _next_serialized_rollback.
2018-11-28Fixed #29929 -- Fixed admin view-only change form crash when using ↵Basil Dubyk
ModelAdmin.prepopulated_fields.
2018-11-27Fixed #28385 -- Fixed deserializing natural keys when primary key has a ↵dmytryi.striletskyi
default value. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2018-11-26Refs #29722 -- Added introspection of materialized views for Oracle.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-11-25Fixed typo in patch_logger() docstring.takaaki shimbo
2018-11-23Improved readability of translation's to_locale().Jaap Roes
2018-11-23Refs #23801 -- Made integer field max_length warning show correct field type.Nick Pope
2018-11-23Removed redundant BigIntegerField.empty_strings_allowed (already inherited).Nick Pope