-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError 'NoneType' object has no attribute 'json_string' #38
Comments
Hello, I faced same error message. I downgraded to 0.1.16 version. It works well. pip install django-quill-editor==0.1.16 |
@afd57 Thanks, I came to that solution as well. I'll leave this open for @LeeHanYeong to see. I was able to remove the .json in forms.py to get the most recent version working, but obviously that may have unintended consequences. Thanks again. |
I got you. :) You are welcome. |
@void-witch Can you take a look at this? I'm hitting the same error with version I think this issue may be related to the work that was merged recently and PR#36. |
yup, this was an issue i missed, my bad. you have two ways to fix this:
i recommend option 2, until the pull request is merged. the fork fixes a lot of things i missed |
that fork in PR#35 was pulled into the master but the PR is still open. Can you make a new PR to fix the line? @LeeHanYeong can you close the PR requests? |
@void-witch any luck? |
@cdesch nothing i can do on my end. you can either edit the file, or point your dependencies to the fork |
I made the change and I'll submit a PR#41 The JSONField was introduced in Django 3.1 and makes this addition a breaking change for Django project versions < 3.1.x |
…son_string' (#41) * Bump to Quill Version 1.3.7 Bump to Quill Version 1.3.7 - This version of Quill fixes Quill Vuln slab/quill#2438 Here is the change commit to fix the vuln in Quill slab/quill#2439 The Vuln is described here: https://ossindex.sonatype.org/vuln/d96c07dd-81f9-41f6-b2bd-531143bcaeab * Adding JS/CSS include instructions from README.md Resolves issue [#33](#33) * adding None return for json_string
@lucaswatterson This issue can be resolved and closed with the recent release of |
Thank you! |
@lucaswatterson You're welcome. Please close the issue. |
…son_string' (#41) * Bump to Quill Version 1.3.7 Bump to Quill Version 1.3.7 - This version of Quill fixes Quill Vuln slab/quill#2438 Here is the change commit to fix the vuln in Quill slab/quill#2439 The Vuln is described here: https://ossindex.sonatype.org/vuln/d96c07dd-81f9-41f6-b2bd-531143bcaeab * Adding JS/CSS include instructions from README.md Resolves issue [#33](#33) * adding None return for json_string
Initialized a new project this evening and installed django-quill-editor as per usual. When I open the associated CreateView template, I get...
Funny thing is, the quill editor loads correctly in the UpdateView template. The following text is strangely already in the editor...
I've double and triple checked that the model, view, and template are set-up correctly.
EDIT
Realized it might help to add that I am also using django-crispy-forms.
The text was updated successfully, but these errors were encountered: