jmrivas86 / django-json-widget

An alternative widget that makes it easy to edit the new Django's field JSONField (PostgreSQL specific model fields)
MIT License
440 stars 88 forks source link

JSONEditor library not loaded in form assets #73

Open NegassaB opened 1 year ago

NegassaB commented 1 year ago

Description

Hi all, I pip installed the library and I was trying to use it on my form with a view inherited from django.views.generic.FormView. I've set everything per the documentation but I can not insert data into the JSON field. Taking a glance I saw the error that stated Uncaught ReferenceError: JSONEditor is not defined.

samuelchen commented 10 months ago

same here

django-json-widget version: 1.1.1 Django version: 4.2 Python version: Python 3.11 Operating System: MacOS 14.1.2

jmrivas86 commented 7 months ago

Can you test that with the new version please?

sebastianovide commented 1 month ago

Same here. I see an error in the browser console complaining about not finding JSONEditor. The HTML is missing all in imports. Something wrong in my project ? (it is a newly created empty project) . it works well in the admin pages

django-json-widget 2.0.1 Django 5.1.1 Python 3.12.6