Re: Pretty formated JSON editor for django.contrib.postgres.fields.JSONField in django admin.

2017-10-25 Thread Tim Allen
This would certainly make a good package, but I'm not sure it belongs in core Django, as it would likely introduce dependencies for everyone. I've done something similar for the Wagtail CMS on Django using the PrismJS library: https://github.com/FlipperPA/wagtailcodeblock A similar package only

Re: Pretty formated JSON editor for django.contrib.postgres.fields.JSONField in django admin.

2017-10-24 Thread Ratan Kulshreshtha
How can I add this functionality to my django admin ? On Tuesday, 24 October 2017 11:19:01 UTC+5:30, Ratan Kulshreshtha wrote: > > I want to propose that django.contrib.postgres.fields.JSONField should > have a JSON editor with pretty formatted, syntax highlighting, and JSON > validation django

Re: Pretty formated JSON editor for django.contrib.postgres.fields.JSONField in django admin.

2017-10-24 Thread Aymeric Augustin
Hello, Yes, that would be nice. There's a couple existing third-party implementations (search for "django json editor"), however none of them looks ready for dropping into Django. -- Aymeric. 2017-10-24 7:49 GMT+02:00 Ratan Kulshreshtha : > I want to propose that django.contrib.postgres.fields

Pretty formated JSON editor for django.contrib.postgres.fields.JSONField in django admin.

2017-10-23 Thread Ratan Kulshreshtha
I want to propose that django.contrib.postgres.fields.JSONField should have a JSON editor with pretty formatted, syntax highlighting, and JSON validation django admin, currently it uses simple text box. -- You received this message because you are subscribed to the Google Groups "Django develo