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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow django-summernote

django-summernote Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

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.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of django-summernote!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-09-05