Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Fixed #34077 -- Added form field rendering. | David Smith | 2023-03-24 | 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 #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 #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> | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -170/+267 |
| | |||||
* | Fixed #32949 -- Restored invalid number handling in DecimalField.validate(). | yakimka | 2021-07-21 | 1 | -0/+11 |
| | | | | | | | | DecimalField must itself validate() values, such as NaN, which cannot be passed to validators, such as MaxValueValidator, during the run_validators() phase. Regression in cc3d24d7d577f174937a0744d886c4c7123cfa85. | ||||
* | Fixed #32807 -- Fixed JSONField crash when redisplaying None values. | Dan Strokirk | 2021-06-28 | 1 | -0/+2 |
| | | | | Thanks to Alex Hill for the initial patch. | ||||
* | Fixed #32821 -- Updated os.scandir() uses to use a context manager. | Chris Jerdonek | 2021-06-07 | 1 | -7/+9 |
| | |||||
* | Improved performance of DecimalField. | David Smith | 2021-01-16 | 1 | -2/+1 |
| | | | strip() is unnecessary because decimal.Decimal() strips the input value. | ||||
* | Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and ↵ | Qi Zhao | 2020-10-09 | 1 | -1/+1 |
| | | | | read-only JSONField values in admin. | ||||
* | Removed redundant forms.DecimalField.validate() in favor of DecimalValidator. | Jon Dufresne | 2020-07-27 | 1 | -7/+0 |
| | |||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -3/+68 |
| | | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #15982 -- Added DATE_INPUT_FORMATS to forms.DateTimeField default ↵ | Claude Paroz | 2020-01-07 | 1 | -1/+7 |
| | | | | input formats. | ||||
* | Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs. | Claude Paroz | 2020-01-06 | 1 | -2/+7 |
| | | | | | Thanks José Padilla for the initial patch, and Carlton Gibson for the review. | ||||
* | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | 2019-10-29 | 1 | -1/+2 |
| | |||||
* | Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share error messages. | Hasan Ramezani | 2019-10-08 | 1 | -0/+1 |
| | |||||
* | Removed some outdated backwards compatibility imports and misleading comments. | Mads Jensen | 2019-09-24 | 1 | -2/+0 |
| | | | | | | | | EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef. | ||||
* | Refs #29689 -- Moved FilePathField choices sorting outside the loop. | Sergey Fedoseev | 2018-08-29 | 1 | -1/+1 |
| | |||||
* | Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and ↵ | Federico Bond | 2018-08-20 | 1 | -11/+11 |
| | | | | FilePathField with os.scandir(). | ||||
* | Refs #29426 -- Made UUIDField render values with dashes. | Tim Graham | 2018-08-18 | 1 | -1/+1 |
| | |||||
* | Fixed #29623 -- Fixed translation failure of DurationField's "overflow" ↵ | Tim Graham | 2018-08-08 | 1 | -7/+5 |
| | | | | error message. | ||||
* | Fixed #29284 -- Made ImageField render with accept="image/*"' HTML attribute. | safu9 | 2018-04-04 | 1 | -1/+7 |
| | |||||
* | Refs #29006 -- Simplified handling of SNaN values in DecimalField.validate(). | Sergey Fedoseev | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Fixed #29006 -- Fixed DecimalField.clean() crash on sNaN values. | Fabio Bonelli | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | Fixed #28882 -- Fixed cleaning of disabled MultiValueFields. | Tim Graham | 2018-01-05 | 1 | -0/+4 |
| | | | | Thanks avalanchy for the initial patch. | ||||
* | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | 2018-01-03 | 1 | -5/+1 |
| | |||||
* | Used Decimal.scaleb() in backends.utils.format_number() and ↵ | Mariusz Felisiak | 2017-12-30 | 1 | -1/+1 |
| | | | | DecimalField.widget_attrs() to improve performance. | ||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -2/+1 |
| | |||||
* | Fixed #28474 -- Made DurationField raise ValidationError for inputs that ↵ | Srinivas Reddy Thatiparthy | 2017-10-25 | 1 | -1/+10 |
| | | | | raised OverflowError. | ||||
* | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | 2017-09-07 | 1 | -2/+3 |
| | | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | ||||
* | Fixed #28555 -- Made CharField convert whitespace-only values to the ↵ | Josh Schneier | 2017-09-05 | 1 | -3/+4 |
| | | | | empty_value when strip is enabled. | ||||
* | Fixed #28201 -- Added ProhibitNullCharactersValidator and used it on ↵ | Alejandro Zamora | 2017-08-12 | 1 | -0/+1 |
| | | | | CharField form field. | ||||
* | Simplified Float/DecimalField.validate() with math.isfinite(). | Srinivas Reddy Thatiparthy | 2017-08-09 | 1 | -9/+5 |
| | |||||
* | Fixed #28264 -- Made FilePathField sort files and directories when ↵ | Srinivas Reddy Thatiparthy | 2017-07-29 | 1 | -2/+2 |
| | | | | recursive=True. | ||||
* | Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it. | Srinivas Reddy Thatiparthy | 2017-07-14 | 1 | -0/+8 |
| | |||||
* | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | 2017-06-28 | 1 | -3/+2 |
| | |||||
* | Fixed #28192 -- Required passing optional form field args as keyword args. | Claude Paroz | 2017-06-03 | 1 | -44/+36 |
| | |||||
* | Refs #28192 -- Made MultiValueField/ComboField fields argument required as ↵ | Tim Graham | 2017-06-03 | 1 | -2/+2 |
| | | | | documented. | ||||
* | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | 2017-06-01 | 1 | -2/+2 |
| | |||||
* | Fixed #28242 -- Moved ImageField file extension validation to the form field. | Manatsawin Hanmongkolchai | 2017-06-01 | 1 | -0/+1 |
| | |||||
* | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | 2017-04-27 | 1 | -12/+11 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Used yield from. | Vytis Banaitis | 2017-02-23 | 1 | -2/+1 |
| | |||||
* | Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-20 | 1 | -42/+34 |
| | |||||
* | Refs #23151 -- Removed RegexField's unused error_message parameter. | Tim Graham | 2017-02-20 | 1 | -3/+1 |
| | | | | Should have been removed in b6ea1961eb6816dee4370fb0ebd49dba29478db1. | ||||
* | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | 2017-02-07 | 1 | -2/+2 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | 2017-02-01 | 1 | -12/+12 |
| | |||||
* | Refs #23919 -- Used DeclarativeFieldsMetaclass.__prepare__() for tracking ↵ | Tim Graham | 2017-01-27 | 1 | -7/+0 |
| | | | | form field order. | ||||
* | Removed unnecessary force_text() in BaseTemporalField.to_python(). | Tim Graham | 2017-01-26 | 1 | -11/+7 |
| | | | | This seems unneeded since its introduction in da3aa22d04d6452f87abbb1a0fee8a90a61eff5b. | ||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 1 | -2/+2 |
| |