Summernote is a simple WYSIWYG editor. Django-summernote allows you to embed Summernote into Django very handy. Support admin mixins and widgets. Although Post model has several TextField, only the content field will have SummernoteWidget. Apply summernote to all TextField in the model. Please mind, that the widget does not provide any escaping. If you expose the widget to external users without taking care of this, it could potentially lead to an injection vulnerability. Therefore you can use the SummernoteTextFormField or SummernoteTextField, which escape all harmful tags through mozilla's package bleach. django-summernote is served with Bootstrap3 by default, but you can choose other options.
Features
- Install django-summernote to your python environment
- Be sure to set proper MEDIA_URL for attachments
- Run database migration for preparing attachment model
- Collect static files before publishing or development
- Apply summernote to all TextField in model
- Apply summernote only to specific TextField in model
License
MIT LicenseFollow django-summernote
You Might Also Like
Our Free Plans just got better! | Auth0 by Okta
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of django-summernote!