summaryrefslogtreecommitdiff
path: root/tests/forms_tests
AgeCommit message (Collapse)Author
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fixed all the E203 violationsAlex Gaynor
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-22Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales
2013-10-22Removed import * in tests.Tim Graham
Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-10-17Fixed #18659 -- Deprecated request.REQUEST and MergeDictBouke Haarsma
Thanks Aymeric Augustin for the suggestion.
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
2013-10-15Merge pull request #1382 from loic/ticket19617Marc Tamlyn
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-12Fixed #21173 -- Stopped fixing format for date-based widgets at init timeClaude Paroz
Thanks Marc Tamlyn for the review.
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.Tim Graham
2013-10-10Removed unnecessary semicolons.Tim Graham
2013-09-28Fixed #20931 -- Fixed select widgets nested choice renderingChristopher Babiak
ChoiceFieldRenderer was not rendering nested choices. Added recursion to ChoiceFieldRenderer to take nested choices and render them as <ul>'s.
2013-09-28Fixed #20439 -- Started deprecation of IPAddressFieldErik Romijn
2013-09-19Fixed #9532 -- Added min_num and validate_min on formsets.yokomizor
Thanks gsf for the suggestion.
2013-09-16Fixed test failures introduced in previous commit.Tim Graham
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-10Fixed #19298 -- Added MultiValueField.__deepcopy__Tim Graham
Thanks nick.phillips at otago.ac.nz for the report.
2013-09-10Fixed test errors from 053de6131af83c63ec17d38578889c71de913d24 on py3.2.Florian Apolloner
2013-09-10Fixed #5749 -- Added field_name as a key in the _html_output dicte0ne
Thanks SmileyChris for the suggestion.
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
2013-09-06Fixed #4287 -- Fixed NaN and +/- Infinity handling in FloatFieldDaniel Langer
NaN, +Inf, and -Inf are no longer valid values for FloatFields.
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-28Fixed #20986 -- Enabled SelectDateWidget to use custom monthsLoic Bistuer
Reviewed by Trac alias MarkusH.
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-08-13Fixed #20555 -- Make subwidget id attribute availableMatt Johnson
In `BoundField.__iter__`, the widget's id attribute is now passed to each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-08Revert change to the default Form.clean()Marc Tamlyn
This means it doesn't break for people who are doing `cleaned_data = super(FooForm, self).clean()`.
2013-08-08Form.clean() does not need to return cleaned_data.Marc Tamlyn
If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change.
2013-08-06Fixed #15511 -- Allow optional fields on ``MultiValueField` subclasses.Tai Lee
The `MultiValueField` class gets a new ``require_all_fields`` argument that defaults to ``True``. If set to ``False``, individual fields can be made optional, and a new ``incomplete`` validation error will be raised if any required fields have empty values. The ``incomplete`` error message can be defined on a `MultiValueField` subclass or on each individual field. Skip duplicate errors.
2013-08-05Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap
2013-07-31Fixed #20649 -- Allowed blank field display to be defined in the initial ↵Alex Couper
list of choices.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-26Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report.
2013-07-22Fixed #20781 -- Fixed _has_changed regression with MultiValueFieldClaude Paroz
Thanks Tim Graham for the report.
2013-07-19Fixed #20765 -- Set small values of `step` using exponential notation.Simon Charette
Browsers parse small factors of 10 as 0 under decimal notation. Thanks to Trac alias matklad for the report and Claude Paroz for the review.
2013-07-13Fixed a deprecation warning in a selenium test.Tim Graham
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-22Fixed 17478 -- Allowed queryset overriding in BaseModelFormSet initClaude Paroz
BaseModelFormSet.forms is now a cached property instead of being populated in the __init__ method. This behaviour also matches an example in the documentation. Thanks Thomasz Swiderski for the report and Simon Charette for the review.
2013-06-20Fixed #20630 -- Removed `maxlength` attribute from `NumberInput`.Simon Charette
This attribute is only allowed on inputs of type "text", "search", "url", "tel", "email", or "password". Thanks to yoyoma for the report and @bmispelon for the review.