summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-14Fixed #27387 -- Doc'd required HTML attribute in Field.required docs.Claude Paroz
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-14Fixed tests that rely on hardcoded id with keepdbJosh Smeaton
2017-01-14Changed a test to be consistent when run in parallel.Josh Smeaton
This particular test was sometimes failing when running the test suite in parallel. The `id` was different depending on the order the tests were run. The test was incorrectly comparing model primary keys rather than ensuring they didn't change.
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-13Removed available_apps on TestCase subclasses.Simon Charette
TestCase subclasses are wrapped in a transaction that prevents any data from being persisted between test runs andi thus don't require limiting the tables to be flushed to a subset of available apps like TransactionTestCase subclasses do.
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
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-12Split AuthTemplateTests into test methods.Tim Graham
2017-01-12Fixed #27721 -- Added interface name to shell's IPython/bython import error.Peter Inglesby
2017-01-12Fixed outdated log level in docs/topics/logging.txt.André Cruz
Refs b3acdeee502e961065bfcdb7673d7cf91ab5b283.
2017-01-11Fixed #27713 -- Clarified NoReverseMatch error message when no view is found.Marten Kenbeek
2017-01-11Fixed typos in docs/ref/contrib/admin/index.txtTim Graham
2017-01-11Fixed typo in docs/topics/db/managers.txt.M Somerville
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 #27711 -- Demoted "Installing a distribution-specific package" in ↵Tim Graham
install intro.
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-09Skipped unnecessary system checks in user_commands test.Adam Chainz
2017-01-09Removed SHOUTING in doc examples.Maxime Lorant
2017-01-09Fixed #27707 -- Removed shell support for IPython < 1.0.Tim Graham
2017-01-09Made prefetch_related SQL inspection tests less brittle.François Freitag
After refs #16614, integers might appear outside the WHERE clause.
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-09Fixed test isolation in a couple migrations tests.Tim Graham
Without this, tests from refs #27432 fail when running with --reverse.
2017-01-08Require Jinja2 >= 2.9.2 in test requirements.Florian Apolloner
While our code also works with any Jinja2 >2.7,<2.9 use >2.9.2 for simplicity reasons in the requirements file.
2017-01-07Fixed #27700 -- Optimized inspectdb tests by specifying database tables.Mariusz Felisiak
2017-01-07Pinned jinja2<2.9 in test requirements.Tim Graham
Kept the build green until a regression is fixed: https://github.com/pallets/jinja/issues/640
2017-01-07Simplified a contenttypes check test with mock.Adam Chainz
2017-01-07Refs #26961 -- Fixed invalid ModelAdmins in tests.Adam Chainz
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 #24423 -- Reorganized i18n tag tests.Andy Craze
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-06Refs #24688, #27497 -- Corrected docs: distance's 'spheroid' option isn't ↵Tim Graham
PostGIS specific.
2017-01-05Refs #27025 -- Added Python 3.6 to tox.ini.Andrii Soldatenko
2017-01-05Alphabetized system check reference.Tim Graham
2017-01-05Cosmetic edits for messages_tests.Tim Graham