'How to add CSP for Django CKEditor

I'm not using CDN or any link for CKEditor but I have PIP installed it using pip install django-ckeditor. I have added all necessary CSPs and CKEditor configurations in settings.py file but CKEditor is not working in html. Please help me fix it.



Solution 1:[1]

Try <p> {{form.media}} {{form.as_p}} </p> <p> {{form.media}} {{form.as_p|safe}} </p>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Medard Dziedzic