Skip to content
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

Fixing issue #38 AttributeError 'NoneType' object has no attribute 'json_string' #41

Merged
merged 4 commits into from Feb 27, 2021

Conversation

cdesch
Copy link
Contributor

@cdesch cdesch commented Feb 24, 2021

Related issue #38 and fixes the issue of json

This PR and PR#36 are breaking changes for Django Versions < 3.1.x

The JSONField was introduced in Django 3.1. django-quill-editor will have to drop support for django 3.0.x versions.

@cdesch
Copy link
Contributor Author

cdesch commented Feb 24, 2021

@LeeHanYeong do you want to drop support for django 3.0.x in favor of django 3.1.x to support the JSONField?

@ghost
Copy link

ghost commented Feb 25, 2021

this was already fixed in #36, which also has the backwards-compatible version based on TextField. also, 3.0 is being dropped by django in a few months: https://www.djangoproject.com/download/#supported-versions

@cdesch
Copy link
Contributor Author

cdesch commented Feb 25, 2021

ah, thanks @void-witch. Sounds like the way is forward!

@LeeHanYeong can we merge and increment the version of the project? I got it to work with https://github.com/LeeHanYeong/django-quill-editor-sample after updating the sample to django 3.1.x.

Is there a better way for the sample and tests to merge into one repo?

@LeeHanYeong
Copy link
Owner

@cdesch It is better to drop support for django 3.0, which is being discontinued.
The sample repo has a lot of sample code that has nothing to do with the execution module, so it is not good to integrate it.
It would be nice to write a test related to the behavior.

@LeeHanYeong LeeHanYeong merged commit 4b96c1c into LeeHanYeong:master Feb 27, 2021
LeeHanYeong pushed a commit that referenced this pull request Dec 8, 2021
…son_string' (#41)

* Bump to Quill Version 1.3.7

Bump to Quill Version 1.3.7 - This version of Quill fixes Quill Vuln quilljs/quill#2438

Here is the change commit to fix the vuln in Quill quilljs/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants