How to add a rich text field in django?

how do i add a rich text field in django that would have to the option to embed a Code Sample in a blog post. I have tried using github gist but that is not what i want, i want to embed the code using a richtextfield like editors
codesampleembed

You need to use a browser-based rich-text editor such as CKEditor or TinyMCE. Django is going to work with that field as if it’s just a regular TextField - all the work is being done in the browser.

1 Like

Thanks, i used tinyMCE and it works perfectly fine