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.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:1>
* version: 1.8 => master
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:2>
* 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>
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>
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>
* status: new => assigned
* owner: => funkybob
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:6>
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>
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>
* 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>
* cc: someuniquename@… (added)
Comment:
add someuni...@gmail.com to cc list
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:10>
* component: contrib.postgres => contrib.admin
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:11>
* owner: Curtis Maloney => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/25197#comment:12>