summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-22Fixed test_migrate_syncdb_deferred_sql_executed_with_schemaeditor() on Oracle.Mariusz Felisiak
2018-07-21Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.Simon Charette
The PostgreSQL concat() function handles nulls and non-text values better than the || operator.
2018-07-21Fixed #29576 -- Corrected the test client's HTTP_COOKIE header.Thng Kai Yuan
2018-07-20Added tests for migrate logging and error messages.Tim Graham
2018-07-20Improved inspectdb readability with namedtuple attributes.Tim Graham
2018-07-20Refs #23919 -- Removed obsolete u-prefix stripping in inspectdb.Tim Graham
2018-07-20Fixed #29523 -- Removed jQuery usage in DateTimeShortcuts.js & collapse.js.Claude Paroz
2018-07-20Added test for DateTimeShortcuts.js time zone warning.Claude Paroz
2018-07-20Fixed #29412 -- Stopped marking slugify() result as HTML safe.Claude Paroz
2018-07-20Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models.François Dupayrat
2018-07-19Fixed #29040 -- Made test database creation messages use a consistent output ↵Claude Paroz
stream.
2018-07-19Refs #28862 -- Removed the FieldRelatedOptionOperation.reduce() optimization.Simon Charette
It isn't required anymore since AlterTogetherOperations can be reduced into CreateModels which can reduce DeleteField operations.
2018-07-19Fixed #26906 -- Reduced alter together operations code duplication.Simon Charette
Thanks Akshesh Doshi for the initial patch.
2018-07-19Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.Simon Charette
This should alleviate the side effects of disabling the AlterFooOperation reduction with RemoveField to fix refs #28862 during migration squashing because CreateModel can perform a reduction with RemoveField. Thanks Nick Pope for the review.
2018-07-19Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.Simon Charette
AlterFooTogether operations cannot be swapped with RemoveField operations on the same model as they could be removing the the same field as well. Since AlterFooTogether operations don't track what their previous value was, it's impossible to determine whether or not the optimization is safe so the only way to proceed is to disable the optimization. Thanks Ramiro Morales for the in-depth analysis of the issue. Refs #24828
2018-07-19Completed test coverage for django.urls.utils.get_callable().Hasan Ramezani
2018-07-19Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz
Thanks Sassan Haradji for the report.
2018-07-19Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt.Tim Graham
2018-07-18Fixed utils.html.escape()'s docs with regards to string coercion.Claude Paroz
As of 301de774c21d055e9e5a7073e5bffdb52bc71079.
2018-07-18Removed duplicate words in various comments.Mariusz Felisiak
2018-07-18Added doc links for django.utils.html.escape().Claude Paroz
2018-07-18Removed duplicate words in docs.Maxime Lorant
.
2018-07-16Fixed #29413 -- Prevented evaluation of ↵Viktor Danyliuk
QuerySet.get_or_create()/update_or_create() defaults unless needed. Removed the logic added in 81e05a418dc6f347d9627373288e773c477a9fe0 which was obsolete since dbffffa7dc95fc62cbecfd00284bde62ee796f48.
2018-07-16Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet.Josh Schneier
Thanks carltongibson for the idea and weijunji for the initial patch.
2018-07-16Fixed django/http/request.py docstring typo.François Freitag
2018-07-14Fixed #29542 -- Fixed invalid SQL if a Subquery from the HAVING clause is ↵Mariusz Felisiak
used in the GROUP BY clause. Thanks Tim Graham for the review.
2018-07-13Fixed #26291 -- Allowed loaddata to handle forward references in natural_key ↵Peter Inglesby
fixtures.
2018-07-13Fixed #28566 -- Added path matching to collectstatic ignore patterns.Daniel Wiesmann
2018-07-13Refs #29548 -- Fixed GIS tests on MariaDBClaude Paroz
2018-07-11Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created ↵Oliver Sauder
m2m through models.
2018-07-11Refs #9804 -- Fixed test for sequence reset of M2M with inherited through model.Tim Graham
2018-07-11Removed in_between from Operation.reduce()'s signature.Simon Charette
It isn't used since FieldOperation.references_model() takes into account models referenced by the field it's operating on.
2018-07-11Fixed #27845 -- Allowed both right and left optimizations of operations.Simon Charette
Thanks Raphael Gaschignard for the suggestion.
2018-07-11Allowed RemoveField operations to be optimized through.Simon Charette
2018-07-11Relaxed FieldOperation.references_field remote field checking.Simon Charette
2018-07-11Introduced ModelTuple to remove migrations boilerplate.Simon Charette
2018-07-11Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette
2018-07-11Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette
Thanks Ed Morley from Mozilla for the tests.
2018-07-11Refs #27768 -- Reversed order of optimized and in-between operations.Simon Charette
Operations can only be optimized through if they don't reference any of the state the operation they are compared against defines or alters, so it's safe to reverse the order.
2018-07-11Simplified BaseContext.__iter__().Sergey Fedoseev
2018-07-11Silenced warnings in deprecation tests.Jon Dufresne
2018-07-10Refs #22875 -- Fixed an optimizer test to use a valid scenario.Simon Charette
An explicit intermediary many-to-many relationship must declare forward and reverse foreign keys. The original issue was in the autodetector as these operations shouldn't have been generated in this order in the first place which is tested by AutodetectorTests.test_create_with_through_model.
2018-07-10Fixed #29045 -- Fixed admin CSS so that select multiple elements honor the ↵Jonah Bishop
HTML size attribute.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-07-10Removed Oracle's fetchmany() and fetchall() wrappers.Sergey Fedoseev
Follow up to e06cab260049bb58eafdc4f60ac50a5f3759c38c.
2018-07-10Fixed #29556 -- Made 'remove_stale_contenttypes --noinput' delete content types.Jon Dufresne
2018-07-10Simplified a couple test docstrings.Tim Graham
2018-07-10Deleted unused variable in SQLCompiler.get_related_selections().Mads Jensen
Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6.
2018-07-10Simplified HttpRequest.__iter__().Sergey Fedoseev
2018-07-10Fixed ResourceWarning from unclosed test files.Jon Dufresne
When running Django tests with Python warnings enabled.