mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.6.x] Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclasses
Thanks Jeroen Pulles for the report and Simon Charette for the review.
Backport of 5a976b4bec from master.
This commit is contained in:
@@ -18,3 +18,8 @@ several bugs in 1.6.2:
|
||||
* Fixed crash of ``QuerySet``\s that use ``F() + timedelta()`` when their query
|
||||
was compiled more once
|
||||
(`#21643 <http://code.djangoproject.com/ticket/21643>`_).
|
||||
|
||||
* Prevented custom ``widget`` class attribute of
|
||||
:class:`~django.forms.IntegerField` subclasses from being overwritten by the
|
||||
code in their ``__init__`` method
|
||||
(`#22245 <http://code.djangoproject.com/ticket/22245>`_).
|
||||
|
||||
Reference in New Issue
Block a user