summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
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-19Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz
Thanks Sassan Haradji for the report.
2018-07-18Removed duplicate words in various comments.Mariusz Felisiak
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-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-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-10Deleted unused variable in SQLCompiler.get_related_selections().Mads Jensen
Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6.
2018-07-10Simplified HttpRequest.__iter__().Sergey Fedoseev
2018-07-09Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset.Sergey Fedoseev
2018-07-09Refs #29548 -- Fixed non-GIS test failures on MariaDB.Tom Forbes
2018-07-09Simplified force_bytes().Sergey Fedoseev
2018-07-09Fixed #29550 -- Eased overriding pickle.dumps() protocol in cache backends ↵Simon Charette
and session serializer.
2018-07-09Refs #27480 -- Moved FileBasedCache content writing logic to a method.Simon Charette
2018-07-09Fixed #29553 -- Made test client set Content-Length header to a string ↵Tim Graham
rather than integer.
2018-07-09Removed unneded str() calls prior to mark_safe(); simplified mark_safe().Sergey Fedoseev
2018-07-09Refs #27472 -- Fixed crash during pickling of empty GEOS point.Sergey Fedoseev
2018-07-09Fixed #20584 -- Fixed memcached's get_many() with single-use iterators.Christian Barcenas
Thanks Guyon Morée for the report.
2018-07-06Fixed #29543 -- Fixed CPointerBase.__del__() ImportError crash.Mushtaq Ali
2018-07-05Fixed #29544 -- Fixed regex lookup on MariaDB.Michal Čihař
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
2018-07-05Refs #26608 -- Removed unneeded name attribute in window functions.Mads Jensen
2018-07-05Refs #28643 -- Added math database functions.Junyi Jiao
Thanks Nick Pope for much review.
2018-07-04Fixed #29541 -- Fixed Cursor.execute() crash when setinputsizes() is called ↵Mariusz Felisiak
without arguments wit cx_Oracle 6.4.
2018-07-02Fixed #29449 -- Reverted "Fixed #28757 -- Allowed using contrib.auth forms ↵Tim Graham
without installing contrib.auth." This reverts commit 3333d935d2914cd80cf31f4803821ad5c0e2a51d due to a crash if USERNAME_FIELD isn't a CharField.
2018-07-02Removed parser.add_arguments() arguments that match the defaults.Claude Paroz
2018-07-02Removed unused code in django.db.backends.utils.format_number().Tim Graham
2018-07-02Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter().Mariusz Felisiak
2018-07-02Simplified SQLite's Decimal adapter.Sergey Fedoseev