summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2017-01-15Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-01-14Fixed #27149 -- Added Subquery and Exists database expressions.Matthew Schinckel
Thanks Josh Smeaton for Oracle fixes.
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-14Refs #16614 -- Prevented database errors from being masked by cursor close.François Freitag
When an error occurred during the cursor.execute statement, the cursor is closed. This operation did not fail with client-side cursors. Now, with server-side cursors, the close operation might fail (example below). The original error should be raised, not the one raised by cursor.close(), this is only clean-up code. For example, one can attempt to create a named cursor for an invalid query. psycopg will raise an error about the invalid query and the server-side cursor will not be created on PostgreSQL. When the code attempts to cursor.close(), it asks psycopg to close a cursor that was not created. pyscopg raises a new error: psycopg2.OperationalError: cursor "_django_curs_140365867840512_20" does not exist.
2017-01-14Refs #25226 -- Cloned ArrayField.base_field on deconstruction.Simon Charette
This prevents the base_field from sharing attributes with the one used during migrations.
2017-01-14Fixed #27699 -- Added negative timedelta support to parse_duration()Jinank Jain
2017-01-13Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache.Simon Charette
Thanks Peter Inglesby for the report and tests.
2017-01-13Fixed #27518 -- Prevented possibie password reset token leak via HTTP ↵Romain Garrigues
Referer header. Thanks Florian Apolloner for contributing to this patch and Collin Anderson, Markus Holtermann, and Tim Graham for review.
2017-01-13Refs #20483 -- Implemented cascaded flush on Oracle.Simon Charette
The initial implementation added support for PostgreSQL but it is also required on Oracle (13b7f299de79e3eb101c3f015386eba39a8f3928). Thanks Mariusz Felisiak for the foreign key retreival queries.
2017-01-13Fixed #27723 -- Set MultiWidget's subwidgets input type from attrs argument.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-12Fixed #27721 -- Added interface name to shell's IPython/bython import error.Peter Inglesby
2017-01-11Fixed #27713 -- Clarified NoReverseMatch error message when no view is found.Marten Kenbeek
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2017-01-11Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths.David Sanders
2017-01-10Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley
2017-01-10Fixed #27712 -- Reallowed Input widget's attrs argument to set the input type.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-10Fixed #27714 -- Fixed small visual artifact when clicking inline edit button ↵Anton Samarchyan
in admin.
2017-01-10Fixed #26961 -- Made admin checks run when DEBUG=False.Adam Chainz
2017-01-10Fixed #27673 -- Made admin's checks run at check time instead of during ↵Adam Chainz
registration. Thanks Morgan Aubert for the test.
2017-01-09Fixed #27688 -- Made messages' add_message() request check use ducktyping.Raffaele Salmaso
2017-01-09Fixed #27707 -- Removed shell support for IPython < 1.0.Tim Graham
2017-01-09Fixed #27705 -- Added protocol/server_cls attributes to runserver for ↵David Sanders
extensibility.
2017-01-09Refs #15667 -- Removed hardcoded icon size for related widget wrapper.elky
The template-based widget rendering branch was started years ago. This is obsolete now.
2017-01-06Fixed #27432 -- Made app_label arguments limit showmigrations --plan output.Sebastian Spiegel
2017-01-06Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.Simon Charette
Thanks Harris Lapiroff for the report.
2017-01-06Fixed #27698 -- Added django.test.utils.ContextList.get()Tim Graham
2017-01-06Refs #15667 -- Prevented newlines in attrs.html widget rendering.Dmitry
Removed the trailing newline from widget attrs.html template. The solution may be revisited by fixing refs #9198 but not for Django 1.11. Thanks Dmitry Ivanchenko for the report and Preston Timmons for advice.
2017-01-06Fixed #27690 -- Removed time.sleep(1) before dropping the test database.David Szotten
Uncertain if this is needed, but no failures have appeared so far.
2017-01-06Fixed #27696 -- Measured email long lines on encoded contentClaude Paroz
Thanks Pavel Pokrovskiy for the report and Tim Graham for the review.
2017-01-04Fixed #27658 -- Prevented collectstatic from overwriting newer files in ↵Tim Graham
remote storages. Thanks revimi for the initial patch.
2017-01-04Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was ↵Tim Graham
deleted?" message.
2017-01-03Fixed #25912 -- Added binary left/right shift operators to F expressions.anabelensc
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups.Ketan Bhatt
2017-01-03Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.Mariusz Felisiak
2017-01-03Fixed #2856 -- Replaced some 404s with messages in admin.Karen Tracey
Instead of a 404, return a redirect to admin index page with a message indicating that the requested object does not exist. This avoids the admin returning 404 from "Recent Actions" links for deleted objects.
2017-01-03Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function.Tim Graham
2017-01-02Refs #25004 -- Replaced PNGs with SVGselky
2017-01-02Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3Claude Paroz
Thanks Tim Graham for the review.
2017-01-02Fixed #27522 -- Fixed runserver autoreload when using staticfile's options.Jeroen van Veen
On a SyntaxError, made runserver exit with a stacktrace when using contrib.staticfiles's runserver options such as --nostatic.
2017-01-02Refs #27637 -- Fixed timesince, timeuntil on New Year's Eve in a leap year.vinay karanam
2017-01-01Refs #27632 -- Simplified params dict creation for Oracle (#7772)Josh Smeaton
2016-12-30Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵Andrew Nester
db_table on Oracle.
2016-12-30Fixed #26478 -- Made {% for %} reject invalid unpacking vars with quotes or ↵Tim Martin
vertical bars.
2016-12-29Fixed #27615 -- Used timedeltas as arguments to Oracle database driver.Mariusz Felisiak
Removed unused DatabaseFeatures.driver_supports_timedeltas workaround.
2016-12-29Fixed #27649 -- Bumped required cx_Oracle to 5.2.Tim Graham
Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b and dcf3be7a621f011a918453527406216a738acf68.
2016-12-29Fixed #25415 -- Made DiscoverRunner run system checks.Adam Chainz
2016-12-29Refs #25415 -- Made MySQL backend skip field validation of unsupported models.Adam Chainz
2016-12-29Removed unused enumerate.Florian Apolloner
2016-12-29Fixed #27622 -- Allowed test client to accept vendor tree JSON content types.Anton Samarchyan
2016-12-29Fixed #27653 -- Added Ukrainian locale formats.Illia Volochii