Jon Dufresne
|
2c69824e5a
|
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
|
2017-06-01 19:08:59 -04:00 |
|
Jon Dufresne
|
21046e7773
|
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
|
2017-05-27 19:08:46 -04:00 |
|
Tim Heap
|
5b6181f4d5
|
Fixed #27922 -- Added ErrorDict.get_json_data().
|
2017-05-27 09:19:42 -04:00 |
|
Bruno Alla
|
6092ea8fa6
|
Refs #27804 -- Used subTest() in several tests.
|
2017-05-24 08:36:34 -04:00 |
|
Tim Graham
|
c09bf8d767
|
Fixed #28058 -- Restored empty BoundFields evaluating to True.
Regression in b52c73008a
|
2017-04-17 08:32:29 -04:00 |
|
Stefan Wehrmeyer
|
1aa8e8605c
|
Fixed #27989 -- Preserved empty QueryDicts for form's data/files args.
|
2017-04-01 18:43:39 -04:00 |
|
Tim Graham
|
6b4f018b2b
|
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
|
2017-03-17 07:51:48 -04:00 |
|
Tim Graham
|
500532c95d
|
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
|
2017-02-09 09:03:47 -05:00 |
|
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
|
Claude Paroz
|
2366100872
|
Removed unneeded force_text calls in the test suite
|
2017-01-24 18:45:54 +01:00 |
|
Tim Graham
|
d170c63351
|
Refs #23919 -- Removed misc references to Python 2.
|
2017-01-21 20:02:00 -05:00 |
|
Claude Paroz
|
289fc1bfa5
|
Refs #23919 -- Removed str_prefix usage
|
2017-01-20 15:43:28 +01:00 |
|
Tim Graham
|
109b33f64c
|
Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.
|
2017-01-20 08:49:47 +01:00 |
|
Claude Paroz
|
f3c43ad1fd
|
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
|
2017-01-18 13:44:34 +01:00 |
|
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
|
Josef Rousek
|
aaecf038ca
|
Fixed #27370 -- Prevented Select widget from using 'required' with a non-empty first value.
|
2016-12-28 10:45:22 -05:00 |
|
Preston Timmons
|
b52c73008a
|
Fixed #15667 -- Added template-based widget rendering.
Thanks Carl Meyer and Tim Graham for contributing to the patch.
|
2016-12-27 17:50:10 -05:00 |
|
Tim Graham
|
b5f0b3478d
|
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
|
2016-12-07 17:42:31 -05:00 |
|
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
|
Jon Dufresne
|
2c716c1dc7
|
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
|
2016-09-21 15:12:13 -07:00 |
|
Tim Graham
|
8119b679eb
|
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
|
2016-09-17 15:44:06 -04:00 |
|
Tim Graham
|
dab653cadc
|
Organized forms_tests test_regressions.py.
|
2016-09-09 08:55:29 -04:00 |
|
Jon Dufresne
|
f5c6d3c8d9
|
Fixed #27068 -- Unified form field initial data retrieval.
|
2016-08-18 17:55:47 -07:00 |
|
Jon Dufresne
|
fab46ce6f5
|
Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists.
|
2016-08-12 13:59:01 -04:00 |
|
Marcin Nowak
|
74bb013cc1
|
Fixed #26905 -- Allowed using MultiValueDict-like objects as form data.
|
2016-08-09 19:46:24 -04:00 |
|
Jon Dufresne
|
50e299dbfb
|
Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style.
|
2016-08-04 19:16:54 -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
|
c9ae09addf
|
Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.
|
2016-06-28 11:21:26 -04:00 |
|
Jon Dufresne
|
4f336f6652
|
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
2016-06-16 14:19:18 -04:00 |
|
Jon Dufresne
|
ec6121693f
|
Fixed #22383 -- Added support for HTML5 required attribute on required form fields.
|
2016-04-21 19:16:38 -04:00 |
|
Tim Graham
|
3cb63b0e47
|
Refs #26502 -- Added choices to Form.__getitem__() KeyError message.
|
2016-04-14 09:15:09 -04:00 |
|
Tim Graham
|
92053acbb9
|
Fixed E128 flake8 warnings in tests/.
|
2016-04-08 10:12:33 -04:00 |
|
Tim Graham
|
2cd2d18851
|
Fixed W503 flake8 warnings.
|
2016-04-04 17:14:26 -04:00 |
|
Jon Dufresne
|
b412681359
|
Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.
|
2016-02-24 07:02:51 -05:00 |
|
Hasan
|
253adc2b8a
|
Refs #26022 -- Used context manager version of assertRaisesMessage in tests.
|
2016-01-29 13:03:39 -05:00 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
Tim Graham
|
04564eb74d
|
Fixed #26129 -- Made invalid forms display initial values of disabled fields.
|
2016-01-28 18:43:48 -05:00 |
|
Josh Soref
|
93452a70e8
|
Fixed many spelling mistakes in code, comments, and docs.
|
2015-12-03 12:48:24 -05:00 |
|
Moritz Sichert
|
535809e121
|
Fixed #25294 -- Allowed custom BoundFields on forms.
|
2015-09-16 10:18:07 -04:00 |
|
Dražen Odobašić
|
b1e33ceced
|
Fixed #23395 -- Limited line lengths to 119 characters.
|
2015-09-12 11:40:50 -04:00 |
|
Moritz Sichert
|
dae81c6ec6
|
Refs #25300 -- Fixed reference to TextInput in a test.
|
2015-09-09 09:28:48 -04:00 |
|
Maxime Lorant
|
7d60659e22
|
Fixed #25300 -- Added unit tests for BoundField.id_for_label
|
2015-08-22 10:08:59 -04:00 |
|
Claude Paroz
|
1ef4aeab40
|
Fixed #25078 -- Added support for disabled form fields
Thanks Keryn Knight and Tim Graham for the reviews.
|
2015-07-16 19:36:56 +02:00 |
|
Markus Amalthea Magnuson
|
1884bf8e8e
|
Fixed #12437 -- Added css_classes to Form._html_output()
|
2015-06-06 19:23:06 -04:00 |
|
Paweł Marczewski
|
4df7e8483b
|
Fixed #24788 -- Allowed Forms to specify a prefix at the class level.
|
2015-05-25 20:23:31 -04:00 |
|
Claude Paroz
|
97e1160be5
|
Refs #9230 -- Added complementary tests for widget iterations
|
2015-05-22 09:25:37 +02:00 |
|
Simon Charette
|
be67400b47
|
Refs #24652 -- Used SimpleTestCase where appropriate.
|
2015-05-20 13:46:13 -04:00 |
|
wdmgsm
|
4dcc649341
|
Fixed #24497 -- Added Widget.supports_microseconds attribute
|
2015-05-06 07:13:00 -04:00 |
|
Alasdair Nicol
|
eaeea6f947
|
Fixed #24714 -- Used more specific assertions than assertEqual in tests.
|
2015-04-28 09:31:04 -04:00 |
|
Alasdair Nicol
|
d91321e8be
|
Used assertIsInstance in tests.
|
2015-04-27 08:40:36 -04:00 |
|