Johannes Dollinger
1410616e0e
Fixed #26433 -- Fixed Case expressions with empty When.
2016-08-08 10:43:33 -04:00
Chris Jerdonek
e7fb724cd2
Fixed #27032 -- Prevented setup_test_environment() from being called twice.
2016-08-08 10:40:29 -04:00
Claude Paroz
a7863c78b7
Fixed #27024 -- Prevented logging error with empty string as geometry widget value
...
Thanks Gavin Wahl for the report, and Tim Graham for the review.
2016-08-08 16:28:19 +02:00
Michael Schwarz
6fe391d437
Refs #27007 -- Enhanced mail text attachment test
...
The test now also checks whether the sent message's attachment has the expected
name, content and mime type.
2016-08-07 19:18:08 +02:00
Sjoerd Job Postmus
3246d2b4bb
Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert.
2016-08-06 10:24:57 -04:00
Ben Demboski
fc8f097117
Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend.
2016-08-06 08:41:41 -04:00
Claude Paroz
3569ba0333
Fixed #27015 -- Prevented HTML-invalid minlength/maxlength on hidden inputs
2016-08-06 10:22:17 +02:00
Akshesh
6a8372e6ec
Fixed #26808 -- Added Meta.indexes for class-based indexes.
...
* Added the index name to its deconstruction.
* Added indexes to sqlite3.schema._remake_table() so that indexes
aren't dropped when _remake_table() is called.
Thanks timgraham & MarkusH for review and advice.
2016-08-05 18:12:51 -04:00
Jarek Glowacki
d117567c7d
Fixed #27004 -- Made migrations consistency check ignore unapplied squashed migrations.
2016-08-05 18:01:55 -04:00
Simon Charette
cdf54db6c5
Used CaptureQueriesContext in select_for_update tests.
2016-08-05 17:00:11 -04:00
Yoong Kang Lim
d30febb4e5
Fixed #26706 -- Made RelatedManager modification methods clear prefetch_related() cache.
2016-08-05 13:32:27 -04:00
Ville Skyttä
a2fb2b3a1f
Fixed #27020 -- Used a context manager to close files.
2016-08-04 19:45:14 -04:00
Jon Dufresne
50e299dbfb
Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style.
2016-08-04 19:16:54 -04:00
Chris Jerdonek
ebed9ee8d5
Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().
2016-08-04 14:45:44 -04:00
Claude Paroz
272eccf7ff
Fixed #26983 -- Fixed isnull filtering on ForeignKey with to_field
...
Thanks weidwonder for the report.
2016-08-04 16:05:21 +02:00
Chris Jerdonek
7bc5274f6f
Fixed #27012 -- Removed unnecessary setup_test_environment() in a test.
2016-08-04 09:35:44 -04:00
Tim Graham
5c63b3e5a7
Fixed #27005 -- Fixed crash if request.META[''CONTENT_LENGTH']=''.
2016-08-03 13:12:40 -04:00
Tim Graham
4a696bbe13
Fixed a GeoIP test failure with the latest data.
2016-08-03 11:08:30 -04:00
Alex Hill
c5ebfda002
Fixed #27001 -- Fixed a query count regression in ModelChoiceField with RadioSelect.
2016-08-03 10:45:55 -04:00
Sergey Yurchenko
4e64e3bb6e
Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.
2016-08-03 09:14:01 -04:00
Akshesh
b92c6b7d56
Refs #26709 -- Replaced Index.get_name() with set_name_with_model().
...
This removes the dependency of the Index class on its 'model'
attribute.
2016-08-02 14:21:41 -04:00
Tim Graham
54afa960d1
Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility.
...
Thanks marktranchant for the report and review.
2016-08-02 11:01:08 -04:00
Tim Graham
24123c3136
Fixed admin_utils test failures due to translation updates.
2016-08-01 15:40:46 -04:00
Jon Dufresne
ac3aaaa740
Fixed #26927 -- Made subwidget iteration pass disabled and required attributes.
2016-08-01 10:36:17 -04:00
Tim Graham
aad46c3e37
Fixed #26930 -- Prevented makemigrations from accessing an empty database.
...
Thanks Liz Lemon for the report and investigation and
Claude Paroz for the test.
2016-08-01 07:57:12 -04:00
Tim Graham
5fa4370543
Refs #25550 -- Corrected deprecation message for assigning M2M relations.
2016-07-30 20:50:09 -04:00
Tim Graham
4e86168290
Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField.
2016-07-30 13:31:48 -04:00
Tomas Pazderka
b820b6108a
Fixed #26896 -- Allowed a lazy base_url for FileSystemStorage.
2016-07-29 14:13:54 -04:00
Tim Graham
0850236a8c
Fixed a typo in tests/middleware/test_security.py
2016-07-28 22:00:48 -04:00
Jensen Cochran
83be40760a
Fixed #26933 -- Fixed flaky update_or_create() test from refs #26804 .
2016-07-28 21:45:35 -04:00
Sergey Fedoseev
4178488881
Refs #26657 -- Fixed a crash induced by invalid WKT returned by MySQL 5.7.5+.
2016-07-28 17:48:17 -04:00
Andrew Nester
0ba179194b
Fixed #26929 -- Deprecated extra_context parameter of contrib.auth.views.logout_then_login().
2016-07-28 11:57:02 -04:00
Tim Graham
412b4126d7
Removed a blank line per isort and a trailing whitespace.
2016-07-28 11:56:25 -04:00
premanand lakshmanan
5da7e3f7fd
Fixed #26114 -- Fixed AlterModelTable.describe() if db_table is None.
2016-07-28 10:33:14 -04:00
Olexander Yermakov
68de48c963
Fixed #26949 -- Fixed crash of disabled forms.JSONField.
2016-07-27 08:14:14 -04:00
Tim Graham
a5f85d891b
Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.
...
Partially reverted refs #25532 to fix a regression in Django 1.10.
This reintroduces a crash for disabled forms.JSONField (refs #26949 ),
however, that issue is also present on Django 1.9.
Thanks Ryan Schave for the test.
2016-07-27 08:14:14 -04:00
Alex Hill
44a6b40280
Fixed #26915 -- Fixed regression handling responses returned from view middleware.
2016-07-25 13:41:50 -04:00
Jon Dufresne
348cfccd90
Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.
2016-07-24 18:18:57 +02:00
Alex Hill
971120778a
Fixed #26945 -- Ensured that i18n_patterns returns a list
2016-07-24 17:17:00 +02:00
Andrew Nester
dde6288fbe
Fixed #26882 -- Added tests for auth.views.logout_then_login().
2016-07-22 15:04:13 -04:00
Jon Dufresne
caa006f327
Removed unnecessary coerce to list in forms_tests.
2016-07-22 07:46:45 -04:00
Kevan Swanberg
17a0a6667c
Refs #26796 -- Fixed ManyToManyField's limit_choices_to warning without a through model.
2016-07-21 14:29:03 -04:00
Dmitry Dygalo
d7a097265b
Fixed #26922 -- Fixed SimpleTestCase.assertHTMLEqual() crash on Python 3.5+.
2016-07-21 14:01:23 -04:00
Tobias McNulty
915786785f
Fixed #26924 -- Fixed i18n test failure on Mac OS X.
2016-07-21 13:54:35 -04:00
Raphaël Hertzog
8e5cbc884f
Fixed #26923 -- Fixed template_tests with numpy < 1.9.0.
2016-07-21 12:59:55 -04:00
Claude Paroz
283b468462
Fixed #25454 -- Ensured register_hstore_handler is called for all connections
...
Thanks Simon Charette for help with the patch.
2016-07-21 17:54:54 +02:00
Dmitry Dygalo
ca32979cdc
Made miscellaneous code cleanups
2016-07-21 10:08:19 -04:00
Claude Paroz
3ea7167bb5
Refs #24928 -- Added introspection support for UUIDField
2016-07-20 17:27:29 +02:00
Simon Charette
271bfe65d9
Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr.
...
Thanks Trac alias karyon for the report and Tim for the review.
2016-07-19 16:05:07 -04:00
Tim Graham
081fdaf110
Fixed a GeoIP test failure with the latest data.
2016-07-19 09:08:46 -04:00