dream_blog icon indicating copy to clipboard operation
dream_blog copied to clipboard

ImportError: cannot import name 'HTMLField' from 'tinymce'

Open ahmedsharifkhan opened this issue 3 years ago • 2 comments

When I am trying to run python manage.py runserver I get this error

File "G:\all_python_projects\dream_blog-master (1)\django_dream_blog\posts\models.py", line 1, in from tinymce import HTMLField ImportError: cannot import name 'HTMLField' from 'tinymce' (C:\Users\USER.virtualenvs\django_dream_blog-PKRmh1Y7\lib\site-packages\tinymce_init_.py)

Screenshot 2021-09-19 160103

ahmedsharifkhan avatar Sep 19 '21 09:09 ahmedsharifkhan

Do u install django-tinymce successfully before importing it?

Mike-Z9986 avatar Jan 19 '22 07:01 Mike-Z9986