Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #32339 -- Fixed super() call in deprecated renderers.HEADmain | Carlton Gibson | 2023-05-17 | 1 | -2/+2 |
| | | | | | | | Missing function call `()` leads to: TypeError: descriptor '__init__' of 'super' object needs an argument Regression in b209518089131c6b4afd18b1d9c320ba3521c5ab. | ||||
* | Fixed CVE-2023-31047, Fixed #31710 -- Prevented potential bypass of ↵ | Mariusz Felisiak | 2023-05-03 | 1 | -1/+25 |
| | | | | | | | | | validation when uploading multiple files using one form field. Thanks Moataz Al-Sharida and nawaik for reports. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: nessita <124304+nessita@users.noreply.github.com> | ||||
* | Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField. | Coen van der Kamp | 2023-04-28 | 1 | -3/+17 |
| | | | | This also deprecates "http" as the default scheme. | ||||
* | Avoided creating default form fields in fields_for_model() when declared on ↵ | Mariusz Felisiak | 2023-04-27 | 1 | -2/+10 |
| | | | | form. | ||||
* | Fixed #34488 -- Made ClearableFileInput preserve "Clear" checked attribute ↵ | Marcelo Galigniana | 2023-04-21 | 1 | -0/+3 |
| | | | | when form is invalid. | ||||
* | Fixed #34077 -- Added form field rendering. | David Smith | 2023-03-24 | 8 | -29/+58 |
| | |||||
* | Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError. | Jure Slak | 2023-03-22 | 1 | -0/+2 |
| | |||||
* | Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵ | T. Franzel | 2023-03-21 | 1 | -0/+3 |
| | | | | form fields. | ||||
* | Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is ↵ | Laurens Verhoeven | 2023-02-20 | 1 | -1/+3 |
| | | | | disabled. | ||||
* | Fixed #34317 -- Renamed "instance" argument of ↵ | Bakdolot | 2023-02-07 | 1 | -1/+1 |
| | | | | BaseModelFormSet.save_existing() method. | ||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -1/+0 |
| | | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | ||||
* | Refs #32528 -- Simplified Media.merge(). | Nick Pope | 2023-01-19 | 1 | -12/+5 |
| | | | | | | This avoids building up a second datastructure for the duplicate files warning case and simply flatten and strip duplicates if that case ever arises. | ||||
* | Fixed #32528 -- Replaced django.utils.topological_sort with ↵ | Nick Pope | 2023-01-19 | 1 | -6/+6 |
| | | | | | | graphlib.TopologicalSort(). graphlib.TopologicalSort() is available since Python 3.9. | ||||
* | Refs #32339 -- Deprecated transitional form renderers. | Mariusz Felisiak | 2023-01-18 | 1 | -8/+18 |
| | |||||
* | Refs #32339 -- Changed default form and formset rendering style to div-based. | Mariusz Felisiak | 2023-01-17 | 7 | -31/+2 |
| | | | | | | | Per deprecation timeline. This also removes "django/forms/default.html" and "django/forms/formsets/default.html" templates. | ||||
* | Refs #31026 -- Removed ability to return string when rendering ↵ | Mariusz Felisiak | 2023-01-17 | 1 | -12/+0 |
| | | | | | | ErrorDict/ErrorList. Per deprecation timeline. | ||||
* | Refs #31026 -- Removed BaseForm._html_output() per deprecation timeline. | Mariusz Felisiak | 2023-01-17 | 1 | -94/+0 |
| | |||||
* | Refs #32365 -- Removed support for pytz timezones per deprecation timeline. | Mariusz Felisiak | 2023-01-17 | 1 | -3/+1 |
| | |||||
* | Fixed #34119 -- Prevented callable default hidden widget value from being ↵ | David Sanders | 2022-11-18 | 1 | -1/+9 |
| | | | | | | overridden. Thanks to Benjamin Rigaud for the report. | ||||
* | Fixed #34148 -- Reverted "Fixed #32901 -- Optimized BaseForm.__getitem__()." | Francesco Panico | 2022-11-18 | 1 | -7/+3 |
| | | | | | | This reverts commit edde2a069929c93e37835dc3f7c9a229040058e2. Thanks Jan Pieter Waagmeester for the report. | ||||
* | Fixed #27654 -- Propagated alters_data attribute to callables overridden in ↵ | LightDiscord | 2022-11-04 | 1 | -2/+3 |
| | | | | | | | subclasses. Thanks Shai Berger and Adam Johnson for reviews and the implementation idea. | ||||
* | Used more augmented assignment statements. | Nick Pope | 2022-10-31 | 3 | -4/+4 |
| | | | | | | Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | ||||
* | Fixed #19215 -- Fixed rendering ClearableFileInput when editing with invalid ↵ | Marcelo Galigniana | 2022-10-25 | 1 | -4/+2 |
| | | | | | | files. Thanks Michael Cardillo for the initial patch. | ||||
* | Fixed #33995 -- Fixed FormSet.empty_form crash when empty_permitted is ↵ | DevilsAutumn | 2022-09-09 | 1 | -7/+8 |
| | | | | passed to form_kwargs. | ||||
* | Fixed #33830 -- Fixed VariableDoesNotExist when rendering ClearableFileInput. | Neeraj Kumar | 2022-08-25 | 1 | -0/+1 |
| | |||||
* | Fixed #31721 -- Allowed ModelForm meta to specify form fields. | Kamil Turek | 2022-08-08 | 1 | -10/+3 |
| | |||||
* | Fixed #33876, Refs #32229 -- Made management forms render with div.html ↵ | Carlton Gibson | 2022-08-02 | 1 | -0/+2 |
| | | | | | | template. Thanks to Claude Paroz for the report. | ||||
* | Fixed #33822 -- Fixed save() crash on model formsets when not created by ↵ | Shawn Dong | 2022-07-05 | 1 | -0/+1 |
| | | | | | | | | modelformset_factory(). Thanks Claude Paroz for the report. Regression in e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8. | ||||
* | Fixed documentation of Widget.id_for_label() empty return value. | Swann | 2022-06-03 | 1 | -2/+2 |
| | |||||
* | Refs #32339 -- Deprecated default.html form template. | David Smith | 2022-05-17 | 2 | -5/+51 |
| | | | | Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #32559 -- Added 'step_size’ to numeric form fields. | Kapil Bansal | 2022-05-12 | 1 | -3/+11 |
| | | | | Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at> | ||||
* | Fixed #33622 -- Allowed customizing error messages for invalid number of forms. | Marc Seguí Coll | 2022-05-10 | 1 | -13/+13 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | 2022-05-10 | 1 | -1/+2 |
| | | | | Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | ||||
* | Fixed #32339 -- Added div.html form template. | David Smith | 2022-05-05 | 7 | -0/+56 |
| | |||||
* | Refs #32339 -- Allowed renderer to specify default form and formset templates. | Carlton Gibson | 2022-04-27 | 3 | -2/+12 |
| | | | | Co-authored-by: David Smith <smithdc@gmail.com> | ||||
* | Fixed #33656 -- Fixed MultiWidget crash when compressed value is a tuple. | L | 2022-04-26 | 1 | -2/+2 |
| | |||||
* | Refs #32339 -- Added use_fieldset to Widget. | David | 2022-03-30 | 2 | -0/+11 |
| | |||||
* | Used sets for field names for exclusion. | Gagaro | 2022-03-16 | 1 | -7/+7 |
| | | | | They are used only for containment checks. | ||||
* | Fixed #29490 -- Added support for object-based Media CSS and JS paths. | Claude Paroz | 2022-02-10 | 1 | -2/+6 |
| | |||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -5/+8 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 8 | -895/+1420 |
| | |||||
* | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | 2022-02-03 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | ||||
* | Fixed #26142 -- Allowed model formsets to prevent new object creation. | vgolubev | 2022-01-27 | 1 | -3/+10 |
| | | | | | | Thanks Jacob Walls, David Smith, and Mariusz Felisiak for reviews. Co-authored-by: parth <parthvin@gmail.com> | ||||
* | Stopped including type="text/css" attributes for CSS link tags. | Claude Paroz | 2022-01-22 | 1 | -1/+1 |
| | |||||
* | Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe. | David | 2022-01-07 | 6 | -6/+6 |
| | | | | | | Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Thanks Matt Westcott for the report. | ||||
* | Refs #24121 -- Added __repr__() to BaseFormSet. | Baptiste Mispelon | 2021-12-21 | 1 | -0/+16 |
| | |||||
* | Fixed typo in django/forms/widgets.py. | vavanade | 2021-12-21 | 1 | -1/+1 |
| | |||||
* | Moved ManagementForm's fields to class attributes. | Adam Johnson | 2021-12-10 | 1 | -9/+7 |
| | | | | | | | This helps introspection, and it follows the comment in BaseForm.__init__() to avoid changing base_fields. Thanks to Silvio Gutierrez and Baptiste Mispelon for investigating. | ||||
* | Refs #32338 -- Added Boundfield.legend_tag(). | David Smith | 2021-12-09 | 3 | -3/+16 |
| | |||||
* | Fixed #33235 -- Removed "for = ..." from MultiWidget's <label>. | David Smith | 2021-11-05 | 1 | -3/+1 |
| | | | | This improves accessibility for screen reader users. |