LeeHanYeong / django-quill-editor

django-quill-editor makes Quill.js easy to use on Django Forms and admin sites
https://django-quill-editor.readthedocs.io
MIT License
202 stars 49 forks source link

Django-quill serializer #54

Open MurphyAdam opened 3 years ago

MurphyAdam commented 3 years ago

I am using django-quill-editor on the admin panel to populate a content field that I have as a TextField before, which was serialized by default, but QuillField would not be serialized, so I was wondering I was trying to create a serializer for it, but honestly don't know where to start from, any suggestions please?

inlinesoftware commented 3 years ago

I am with the same problema, do you find a resolution?

MurphyAdam commented 3 years ago

@inlinesoftware unfortunately not, I had to move on quickly as I didn't have much time.

LeeHanYeong commented 2 years ago

I know that the migration function of the existing TextField model is needed, but I haven't implemented it yet. When a feature is added, we will let you know in the comments :)

LeeHanYeong commented 2 years ago

@MurphyAdam @inlinesoftware A migration command has been added to the already used CharField or TextField.

python manage.py convert_to_quill {app_name} {model_name} {field_name}

https://django-quill-editor.readthedocs.io/en/latest/pages/migrating-to-quillfield.html