My web dev diary 📔✨

Notes on my journey learning to code with Python & Django

CKEditor in Django Admin

AMartin1987 | Published on: May 18, 2023, 5:04 p.m.

I needed a more convenient way to apply HTML formatting to my posts, so I decided to install my first Django package: CKEditor.

Installation was quick and easy (aside from the fact that the first time I installed it globally, not inside the virtual environment that I'm using for this blog. I quickly fixed that, though).

I followed this tutorial from PyCodeMates to install CKEditor for use in my Django admin page: How to integrate CKEditor to your Django Admin and form fields

So look how it looks now!:


So it works very well, but somehow it changed the style in which other posts are displayed (?). I have to fix that now...

Edit: Fixed it! It was just a truncated <strong> tag that wasn't closed 😅.
 
Ale 💜🌿

Categories:

 

Django  

About me
notByAI badge