django-prettyjson icon indicating copy to clipboard operation
django-prettyjson copied to clipboard

Enables pretty JSON viewer in Django forms, admin, or templates

Results 16 django-prettyjson issues
Sort by recently updated
recently updated
newest added

Hello, I noticed that when you are returning a custom error in a ModelForm that uses the PrettyJsonWidget(), there is an indication that there is an error in that field,...

My code setup is as follows: **models.py** ``` class MyModel(models.Model): structure = JSONField(default=dict, blank=True, null=True) static_structure = JSONField(default=dict, blank=True, null=True, editable=False) ``` **admin.py** ``` class MyModelAdmin(admin.ModelAdmin): formfield_overrides = { JSONField:...

Can the strings be translatable please? I was hoping I could at least replace a template file but the button strings are hard-coded in the js file. It would be...

It does not seem to align with the rest of the fields on the Admin form. Instead it aligns itself from the left of the form. It might be related...

Bumps [django](https://github.com/django/django) from 2.1 to 2.2.24. Commits 2da029d [2.2.x] Bumped version for 2.2.24 release. f27c38a [2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses. 053cc95 [2.2.x] Fixed CVE-2021-33203 --...

dependencies

Bumps [py](https://github.com/pytest-dev/py) from 1.5.4 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...

dependencies

I've been integrating with django-prettyjson and in some of my fields the ability to auto sort by key alphabetically in the parsed ("pretty") view would make it even prettier. 1....

Thanks for this very nice and useful widget! I'm pretty certain, by looking at the doc and code, that there is no option to start the widget not only "parsed",...

Wondering if it's possible to incorporate this "in row" within a table. As an example if you have a column within your table that is json, can we include an...