Django key/value JSON widget

233 views
Skip to first unread message

Federico Capoano

unread,
Jul 22, 2020, 2:34:01 PM7/22/20
to Django users
Hey everyone,

I'm looking for a key/value widget to edit a JSON flat object, like this widget here: https://django-hstore.readthedocs.io/en/latest/#django-admin-widget (I made this one a while ago, but I'm not maintaining that project anymore).

But I'm having no luck in finding it, there must already be some, right?

Thanks in advance
Federico

Kovy Jacob

unread,
Jul 30, 2020, 2:25:48 PM7/30/20
to django...@googlegroups.com
Are you not able to use the regular python module for interacting with json files?

Federico Capoano

unread,
Aug 17, 2020, 5:42:41 PM8/17/20
to Django users

Since I wasn't able to find a package which had this kind of widget, I scratched my own itch and published django-flat-json-widget.
I hope it will be useful to others as well, I included a gif that shows the widget in action.

Best regards
Federico Capoano

Roger Gammans

unread,
Aug 19, 2020, 4:43:27 AM8/19/20
to django...@googlegroups.com
Hi

Thanks that looks useful.

On my rather long TODO list is to turn use this (https://github.com/josdejong/jsoneditor) npm package to build a less restrictive json widget...
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/27e1347b-6a17-4892-8ca8-736bcc6c6c27n%40googlegroups.com.

Federico Capoano

unread,
Aug 19, 2020, 12:21:19 PM8/19/20
to django...@googlegroups.com
On Wed, Aug 19, 2020 at 3:43 AM Roger Gammans <rgam...@gammascience.co.uk> wrote:
Hi

Thanks that looks useful.

On my rather long TODO list is to turn use this (https://github.com/josdejong/jsoneditor) npm package to build a less restrictive json widget...

There's already several packages for that. Try googling django-jsoneditor,

Reply all
Reply to author
Forward
0 new messages