Forums

ckeditor installed in settings.py but shows only a simple textarea field without RichTextEditor

I tried all the solutions on this forum and none seemed to work. I did python manage.py collectstatic

it worked and the static folders and files were added to my project folder but the RichTextEditor is not visible in the textarea field

here is my settings.py file, maybe you can see something out of place

STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = 'static/'
MEDIA_ROOT = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
#STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),)

here is my models.py file

from django.db import models
from django.contrib.auth.models import User
from ckeditor.fields import RichTextField

Here is the textarea part of the model:

description = RichTextField(null=True)

In my web app settings the Map is set to /static/ the url is set to /home/90skidcoder/cannadb/static

Is there anything out of place?

Can this be fixed?

Thank you all in advice!

I believe we already answered you in this thread.