summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-09Renamed import in MySQL introspection backend for consistency.Nick Pope
2019-01-08Simplified some imports for database functions.Nick Pope
Used more specific modules to reduce the risk of circular imports.
2019-01-08Added stub 2.1.6 release notes.Tim Graham
2019-01-04Added CVE-2019-3498 to the security release archive.Tim Graham
2019-01-03Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the ↵Tom Hacohen
default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03Refs #29851 -- Fixed test_subquery_row_range_rank() crash on MariaDB 10.2+.Mariusz Felisiak
Thanks Tom Forbes for the report.
2019-01-03Fixed typo in django/db/backends/base/features.py.Mariusz Felisiak
2019-01-02Added __init__.py for db_utils tests.Tim Graham
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2019-01-02Fixed typo in docs/ref/migration-operations.txt.Jozef
2019-01-02Pinned Pillow != 5.4.0 in test requirements.Tim Graham
There's a bug that causes a test failure in forms_tests: https://github.com/python-pillow/Pillow/pull/3501/files#r244651761.
2019-01-01Fixed #29981 -- Fixed inline formsets with a OnetoOneField primary key that ↵Patrik Sletmo
uses to_field.
2019-01-01Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with ↵Tim Graham
non-None obj during add. Thanks andreage for the report and suggested fix.
2019-01-01Fixed #30060 -- Moved SQL generation for indexes and constraints to ↵Paveł Tyślacki
SchemaEditor.
2018-12-31Fixed #30069 -- Added docstring to manage.py template.Brylie Christopher Oxley
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-31Updated a test to reflect the fact that "import *" isn't used in URLconfs ↵Tim Graham
anymore (refs #14675).
2018-12-30Renamed QuerySet.earliest()/latest() helper method.Tim Graham
2018-12-29Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor ↵Paveł Tyślacki
of Meta.constraints.
2018-12-29Added examples to HttpRequest.build_absolute_uri() docs.Adam Johnson
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-12-27Fixed #29851 -- Fixed crash of annotations with window expressions in Subquery.Mariusz Felisiak
2018-12-27Fixed #30024 -- Made urlencode() and Client raise TypeError when None is ↵Jon Dufresne
passed as data.
2018-12-27Updated OWASP Top 10 link to the latest version.Vedran Karačić
2018-12-27Fixed broken links to PyYAML page.CHI Cheng
2018-12-26Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for ↵Denis Stebunov
empty/error cases.
2018-12-26Refs #30033 -- Fixed schema's test_m2m_rename_field_in_target_model test ↵Tim Graham
failure on SQLite < 3.20. Mixing local test models with non-local models resulted in a referential integrity error during tear down since the models are removed in separate schema editor instances which each check constraints. Failure appeared after 7289874adceec46b5367ec3157cdd10c711253a0.
2018-12-26Refs #29547 -- Skipped an unsupported partial index test on older versions ↵Tim Graham
of SQLite. Follow up to e5b8626c0eb223cc3d643163882c5902c40ec972.
2018-12-26Refs #20483 -- Cached Oracle references retrieval on sql_flush().Simon Charette
2018-12-26Refs #30054, #20483 -- Cached SQLite references graph retrieval on sql_flush().Simon Charette
2018-12-24Added import locations to contrib.postgres aggregates and validators docs.Marten Kenbeek
2018-12-24Refs #29004 -- Prevented inspectdb tests from flushing all tables data.Simon Charette
This is a costly operation on most database backends.
2018-12-24Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test.Simon Charette
The test was expecting connections used by DiscoverRunner.setup_databases() to be the ones defined in django.test.runner but this doesn't hold true since this method was made a proxy of django.test.utils.setup_databases. This broke the TransactionTestCase.serialized_rollback feature in the test suite because calls to create_db_test() cleared the test data persisted on connections objects. Added an assertions to prevent this from happening again.
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-22Refs #14204 -- Removed obsolete referential integrity comment for 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-22Refs #29928 -- Adjusted release notes of SQLite test constraint checking.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