Skip to content

Commit

Permalink
Fixing issue #38 AttributeError 'NoneType' object has no attribute 'j…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
cdesch authored Feb 27, 2021
1 parent f59153a commit a974e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_quill/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def prepare_value(self, value):
return value.json_string
return value.json_string if value else None

0 comments on commit a974e47

Please sign in to comment.