[Django] #25197: Widget for HStoreField

44 views
Skip to first unread message

Django

unread,
Jul 30, 2015, 8:45:40 AM7/30/15
to django-...@googlegroups.com
#25197: Widget for HStoreField
----------------------------------+--------------------
Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: 1.8
Severity: Normal | Keywords: widget
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 1
----------------------------------+--------------------
Creating a new widget for HStoreField to be used and to be friendly.

Example, which django-hstore is using in the admin :
[[Image(https://djangonauts.github.io/django-hstore/images/deafult-admin-
widget.png)]]

I think it is good to consider. right now it is a textarea and you should
write the value in dictionary format.

Thanks

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

Django

unread,
Jul 30, 2015, 8:46:53 AM7/30/15
to django-...@googlegroups.com
#25197: Widget for HStoreField
----------------------------------+--------------------------------------

Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: 1.8
Severity: Normal | Resolution:

Keywords: widget | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 1
----------------------------------+--------------------------------------
Changes (by gam_phon):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:1>

Django

unread,
Jul 30, 2015, 8:47:54 AM7/30/15
to django-...@googlegroups.com
#25197: Widget for HStoreField
----------------------------------+--------------------------------------
Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:

Keywords: widget | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 1
----------------------------------+--------------------------------------
Changes (by gam_phon):

* version: 1.8 => master


--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:2>

Django

unread,
Jul 30, 2015, 10:07:05 AM7/30/15
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------

Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted

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

* cc: mjtamlyn (added)
* easy: 1 => 0
* stage: Unreviewed => Accepted


Comment:

Marc, your thoughts on this?

--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:3>

Django

unread,
Jul 30, 2015, 10:23:19 AM7/30/15
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------

Comment (by mjtamlyn):

A good admin widget for HStore, as with ArrayField would be good. Both
require javascript, which is less of a problem now we can test it.

In django-hstore I think you have to customise the widget yourself, it may
be nice if there was a way to extend the admin site to choose a different
form field/widget automatically, but this may be unnecessary and is a more
difficult problem to solve.

We can't easily include django-hstore's widget directly as it uses
underscore templating.

--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:4>

Django

unread,
Aug 3, 2015, 11:47:45 AM8/3/15
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner:
Type: New feature | Status: new
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------

Comment (by funkybob):

I ran into this recently, and found django-hstore's widget a trivial drop
in that did the job.

I'm happy to work on re-engineering it to remove the other dependencies,
if nobody objects.

--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:5>

Django

unread,
Aug 3, 2015, 11:49:15 AM8/3/15
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner: funkybob
Type: New feature | Status: assigned

Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------
Changes (by funkybob):

* status: new => assigned
* owner: => funkybob


--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:6>

Django

unread,
Apr 25, 2016, 4:25:47 PM4/25/16
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner: funkybob
Type: New feature | Status: assigned
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------

Comment (by krische):

So is this feature would be really nice. But judging by the lack of
activity, should I assume it's dead?

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

Django

unread,
Apr 25, 2016, 7:47:56 PM4/25/16
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner: funkybob
Type: New feature | Status: assigned
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------

Comment (by timgraham):

As I recall, FunkyBob got discouraged at the lack of feedback on the
[https://groups.google.com/d/topic/django-
developers/g71ZgYiHDmo/discussion django-developers thread].

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

Django

unread,
Apr 27, 2016, 9:50:31 AM4/27/16
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
----------------------------------+------------------------------------
Reporter: gam_phon | Owner: funkybob
Type: New feature | Status: assigned
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

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

* needs_better_patch: 0 => 1
* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/6515 Work in progress PR]

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

Django

unread,
Jun 13, 2017, 4:53:59 AM6/13/17
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
-------------------------------------+-------------------------------------
Reporter: gam_phon | Owner: Curtis
| Maloney

Type: New feature | Status: assigned
Component: contrib.postgres | Version: master
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Evstifeev Roman):

* cc: someuniquename@… (added)


Comment:

add someuni...@gmail.com to cc list

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

Django

unread,
Jan 7, 2021, 2:44:01 AM1/7/21
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
-------------------------------+------------------------------------------

Reporter: gam_phon | Owner: Curtis Maloney
Type: New feature | Status: assigned
Component: contrib.admin | Version: master

Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+------------------------------------------
Changes (by Mariusz Felisiak):

* component: contrib.postgres => contrib.admin


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

Django

unread,
Oct 19, 2021, 6:22:49 AM10/19/21
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
-------------------------------+------------------------------------
Reporter: gam_phon | Owner: (none)

Type: New feature | Status: new
Component: contrib.admin | Version: dev

Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* owner: Curtis Maloney => (none)
* status: assigned => new


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

Django

unread,
Mar 12, 2024, 3:03:59 AM3/12/24
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
-------------------------------+------------------------------------
Reporter: gam_phon | Owner: (none)
Type: New feature | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+------------------------------------
Changes (by Ülgen Sarıkavak):

* cc: Ülgen Sarıkavak (added)

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

Django

unread,
Nov 3, 2024, 11:38:05 PM11/3/24
to django-...@googlegroups.com
#25197: Add a more friendly widget for HStoreField
-------------------------------+------------------------------------
Reporter: gam_phon | Owner: (none)
Type: New feature | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: widget | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+------------------------------------
Changes (by Alexander Lazarević):

* cc: Alexander Lazarević (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:14>
Reply all
Reply to author
Forward
0 new messages