Re: [Django] #13009: provide django.forms field type info for use in templates

14 views
Skip to first unread message

Django

unread,
May 3, 2017, 3:11:45 PM5/3/17
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner:
| rameshugar
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by rameshugar):

* status: new => assigned
* owner: nobody => rameshugar


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 3, 2020, 2:53:52 PM4/3/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith

Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Smith):

* owner: rameshugar => David Smith


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:7>

Django

unread,
Apr 4, 2020, 3:05:10 AM4/4/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Smith):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:8>

Django

unread,
Apr 4, 2020, 4:35:18 AM4/4/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

Repeating here my proposal on the PR: create a new `BoundField` property
(`widget_type`?) returning the lowercased widget class name stripped from
the `widget` or `input` strings?
In that case, if I have defined a `MyCustomWidget`, the
(bound)field.widget_type would by `mycustom`.

--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:9>

Django

unread,
Apr 7, 2020, 1:58:53 AM4/7/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:10>

Django

unread,
Apr 9, 2020, 11:51:07 AM4/9/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Smith):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:11>

Django

unread,
Apr 10, 2020, 12:56:30 AM4/10/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:12>

Django

unread,
Apr 10, 2020, 1:37:00 AM4/10/20
to django-...@googlegroups.com
#13009: provide django.forms field type info for use in templates
-------------------------------------+-------------------------------------
Reporter: Tom von Schwerdtner | Owner: David
| Smith
Type: New feature | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"a350bfa6f44befff8779dbbdd72c9760bf5df959" a350bfa]:
{{{
#!CommitTicketReference repository=""
revision="a350bfa6f44befff8779dbbdd72c9760bf5df959"
Fixed #13009 -- Added BoundField.widget_type property.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/13009#comment:13>

Reply all
Reply to author
Forward
0 new messages