Commit Graph

23850 Commits

Author SHA1 Message Date
Simon Charette 973cfd2ef5 Refs #20483 -- Implemented cascaded flush on Oracle.
The initial implementation added support for PostgreSQL but it is also required
on Oracle (13b7f299de).

Thanks Mariusz Felisiak for the foreign key retreival queries.
2017-01-13 08:50:03 -05:00
Mariusz Felisiak 974d14534c Fixed #27723 -- Set MultiWidget's subwidgets input type from attrs argument.
Regression in b52c73008a.
2017-01-13 06:34:33 -05:00
Tim Graham 3226536127 Split AuthTemplateTests into test methods. 2017-01-12 13:18:49 -05:00
Peter Inglesby 0b2e5da6ed Fixed #27721 -- Added interface name to shell's IPython/bython import error. 2017-01-12 13:12:21 -05:00
André Cruz e303739f8e Fixed outdated log level in docs/topics/logging.txt.
Refs b3acdeee50.
2017-01-12 13:04:17 -05:00
Marten Kenbeek 1358a67bf9 Fixed #27713 -- Clarified NoReverseMatch error message when no view is found. 2017-01-11 21:40:18 -05:00
Tim Graham a4cc622363 Fixed typos in docs/ref/contrib/admin/index.txt 2017-01-11 19:01:30 -05:00
M Somerville 56c87b51ab Fixed typo in docs/topics/db/managers.txt. 2017-01-11 18:31:11 -05:00
François Freitag f3b7c05936 Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.
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-11 09:25:37 -05:00
David Sanders 53bffe8d03 Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths. 2017-01-11 09:21:29 -05:00
Ed Morley 7156a6c9c4 Fixed #27717 -- Allowed migration optimization across AlterModelOptions. 2017-01-10 18:38:48 -05:00
Mariusz Felisiak 6872ce2266 Fixed #27712 -- Reallowed Input widget's attrs argument to set the input type.
Regression in b52c73008a.
2017-01-10 11:38:27 -05:00
Anton Samarchyan 95f434e2b9 Fixed #27714 -- Fixed small visual artifact when clicking inline edit button in admin. 2017-01-10 11:24:28 -05:00
Tim Graham 991cd69621 Fixed #27711 -- Demoted "Installing a distribution-specific package" in install intro. 2017-01-10 09:29:23 -05:00
Adam Chainz 9daf8c43bd Fixed #26961 -- Made admin checks run when DEBUG=False. 2017-01-10 07:02:13 -05:00
Adam Chainz d57ecf40eb Fixed #27673 -- Made admin's checks run at check time instead of during registration.
Thanks Morgan Aubert for the test.
2017-01-10 07:02:13 -05:00
Raffaele Salmaso ed8c0c941d Fixed #27688 -- Made messages' add_message() request check use ducktyping. 2017-01-09 18:03:10 -05:00
Adam Chainz 7dc8d9238a Skipped unnecessary system checks in user_commands test. 2017-01-09 17:23:24 -05:00
Maxime Lorant 241e1e3cd7 Removed SHOUTING in doc examples. 2017-01-09 17:00:44 -05:00
Tim Graham 823af53bf6 Fixed #27707 -- Removed shell support for IPython < 1.0. 2017-01-09 12:02:43 -05:00
François Freitag ee1c1c696b Made prefetch_related SQL inspection tests less brittle.
After refs #16614, integers might appear outside the WHERE clause.
2017-01-09 11:18:32 -05:00
David Sanders e5e3747357 Fixed #27705 -- Added protocol/server_cls attributes to runserver for extensibility. 2017-01-09 10:41:33 -05:00
elky 0a47b675b0 Refs #15667 -- Removed hardcoded icon size for related widget wrapper.
The template-based widget rendering branch was started years ago.
This is obsolete now.
2017-01-09 09:59:14 -05:00
Tim Graham 9932e1bf52 Fixed test isolation in a couple migrations tests.
Without this, tests from refs #27432 fail when running with --reverse.
2017-01-09 08:02:09 -05:00
Florian Apolloner d27643354e Require Jinja2 >= 2.9.2 in test requirements.
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-08 18:43:24 +01:00
Mariusz Felisiak f8e36047da Fixed #27700 -- Optimized inspectdb tests by specifying database tables. 2017-01-07 15:41:42 -05:00
Tim Graham 853fe6f697 Pinned jinja2<2.9 in test requirements.
Kept the build green until a regression is fixed:
https://github.com/pallets/jinja/issues/640
2017-01-07 15:35:29 -05:00
Adam Chainz 334096dfac Simplified a contenttypes check test with mock. 2017-01-07 10:24:40 -05:00
Adam Chainz cd86f03591 Refs #26961 -- Fixed invalid ModelAdmins in tests. 2017-01-07 10:06:51 -05:00
Sebastian Spiegel 8b734d2f99 Fixed #27432 -- Made app_label arguments limit showmigrations --plan output. 2017-01-06 19:50:31 -05:00
Simon Charette d976760260 Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.
Thanks Harris Lapiroff for the report.
2017-01-06 19:25:32 -05:00
Tim Graham 8516f7c49b Fixed #27698 -- Added django.test.utils.ContextList.get() 2017-01-06 19:23:42 -05:00
Dmitry 12cefee5d8 Refs #15667 -- Prevented newlines in attrs.html widget rendering.
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-06 19:11:32 -05:00
David Szotten 7a6863c338 Fixed #27690 -- Removed time.sleep(1) before dropping the test database.
Uncertain if this is needed, but no failures have appeared so far.
2017-01-06 15:28:22 -05:00
Andy Craze 97c1931c4f Fixed #24423 -- Reorganized i18n tag tests. 2017-01-06 10:33:07 -05:00
Claude Paroz 9390533951 Fixed #27696 -- Measured email long lines on encoded content
Thanks Pavel Pokrovskiy for the report and Tim Graham for the review.
2017-01-06 16:04:59 +01:00
Tim Graham ad7f3c0b7b Refs #24688, #27497 -- Corrected docs: distance's 'spheroid' option isn't PostGIS specific. 2017-01-06 07:55:00 -05:00
Andrii Soldatenko 72be3152d7 Refs #27025 -- Added Python 3.6 to tox.ini. 2017-01-05 20:09:45 -05:00
Tim Graham ab661e994b Alphabetized system check reference. 2017-01-05 11:04:44 -05:00
Tim Graham 0793182694 Cosmetic edits for messages_tests. 2017-01-05 09:31:23 -05:00
jpic 944610a86c Fixed #27680 -- Linked to "Classy Class-Based Views" in docs. 2017-01-04 19:12:14 -05:00
Tim Graham a50926ede2 Added stub release notes for 1.10.6. 2017-01-04 14:33:18 -05:00
Tim Graham 32b3961943 Added release date for 1.10.5. 2017-01-04 13:20:01 -05:00
Tim Graham c85831e4b7 Fixed #27658 -- Prevented collectstatic from overwriting newer files in remote storages.
Thanks revimi for the initial patch.
2017-01-04 12:50:31 -05:00
Tim Graham f60d4e704d Tested collectstatic's deleting of files/symlinks when toggling --link. 2017-01-04 12:49:57 -05:00
Tim Graham 8ea541e6a2 Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was deleted?" message. 2017-01-04 10:22:17 -05:00
Tim Graham bff4abacad Refs #15035 -- Corrected a bug and improved comments for a staticfiles test. 2017-01-03 19:22:19 -05:00
anabelensc 1c12df4aa6 Fixed #25912 -- Added binary left/right shift operators to F expressions.
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03 14:15:46 -05:00
Ketan Bhatt f0ef0c49e9 Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups. 2017-01-03 13:55:11 -05:00
Mariusz Felisiak fd2f7e4767 Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL. 2017-01-03 12:41:44 -05:00