profile
viewpoint

Ask questionsReferenceError: Can't find variable: JSONEditor

  • django-json-widget version: django-json-widget==0.2.0
  • Django version: Django==2.2.3
  • Python version: Python 3.7.3
  • Operating System: Ubuntu

Added the app in INSTALLED_APPS Added the widget in the form If i refresh the admin page, i get

[Error] ReferenceError: Can't find variable: JSONEditor
	(anonymous function) (change:208)
	Global Code (change:211)
[Error] ReferenceError: Can't find variable: JSONEditor
	(anonymous function) (change:231)
	Global Code (change:234)
        var editor = new JSONEditor(container, options);
        var json = {"a": "b"};
        editor.set(json);
jmrivas86/django-json-widget

Answer questions ablakey

All I had to do was a collectstatic given I'm using storages to put static assets in AWS. <-- Just a breadcrumb in case someone else comes looking for insight.

useful!

Related questions

No questions were found.
Github User Rank List