Compare TinyMCE and CKeditor for a Wiki

For a custom wiki django-wakawaka, i want to be able to add a WYSIWYG support. TinyMCE is obviously the most popular plugin, used even by Wordpress. But CK-editor seems more feature full. Those...

Editing the raw HTML inside a TinyMCE control

I have a Django website in which I use django-tinymce to edit HTML fields with a TinyMCE control. TinyMCE practically gives me a WYSIWYG way to edit HTML. My question is, can I get access to edit...

Why does TinyMCE in Django admin output HTML tags?

I have two apps using the same TinyMCE textarea configurations. However, while an input in an app does output the text properly, the same input in another app does not output the text properly -it...

Rich Text Editor in Django Admin with image upload

I'm looking for a good Rich Text Editor for the Django Admin Panel. I need an integrated with Django server which uploads the images. I also need a functionality of different configurations for...

Running PHP in Django

Is there a way to run PHP scripts in django? I have a plugin in TinyMCE that runs PHP scripts, and it is able to work using XAMPP's Apache. However, Django does support running of PHP script and...

Django charset and encoding

I am trying to store and view greek characters from/to a Mysql db. I want to use utf8 encoding i alter my db with the following command: ALTER DATABASE el CHARACTER SET utf8 COLLATE...

Django-Tinymce Import Error

I am trying to follow this tutorial on getting tinymce working with django and zinnia. It's not working, so I am attempting to do "Testing" but get this error when I run django-admin.py syncdb....

Django: TemplateSyntaxError: Could not parse the remainder

I am getting this issue when I type localhost:8000/admin/. `TemplateSyntaxError: Could not parse the remainder: ':password_change' from 'admin:password_change'. The syntax of 'url' changed in...

Django-TinyMCE with Multiple Forms

I'm trying to create a single HTML page with multiple instances of TinyMCE editors. The number of editors varies by the request; so I can't enumerate them and initialize them individually. Here...

django tinymce not showing rich textarea

My settings: MEDIA_ROOT = os.path.join(BASE_DIR, 'static') STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), ) TINYMCE_JS_URL = os.path.join(MEDIA_ROOT,...

Using Django Tinymce outside of admin forms for normal users?

I have a basic model which I have added django-tinymce HTMLField for rich text editing. This works perfectly in the admin form in the backend like it is intended, so I think I have set up the...

"No installed app with label 'admin'" running Django migration. The app is installed correctly

I am trying to use admin.LogEntry objects during a datamigration on Django 1.7 The 'django.contrib.admin' app is listed on INSTALLED_APPS. On the shell, it works: >>> from django.apps import...

Django / TinyMCE Editor not working

I am using Django 1.8 with Python2.7. I have Installed TinyMCE using command "pip install django-tinymce" and included 'tinymcy' app in INSTALLED_APPS. INSTALLED_APPS = ( ... 'tinymce', ...

Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS

Whenever I try to run makemigrations or runserver, I get this error: RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't...

How to upload images (like from my computer) to my django-tinymce formField?

I have an HTML page (not django admin) showing a WYSIYYG tinymce field: What i need to do with it is writing some text (it works), upload some images to illustrate the text (it doesn't work) and...

Could not find a version that satisfies the requirement ItsDangerous==1.0.0. Django, Pythonanywhere

When I try to deploy my application to pythonanywhere, the following error it is returned. Could not find a version that satisfies the requirement ItsDangerous==1.0.0 How can I solve it? I...

Tinymce is not showing in django admin

I´ve installed tinymce on my localhost, and everything worked fine. Then i copied it to the pythonanywhere server and there is only the normal content field witouht tinymce. Maybe someone know...

Django stops with "generator raised StopIteration" when html form allows for file upload

My setup is Windows 10, Python 3.7, Apache 2.4/mod_wsgi. When I add this enctype="multipart/form-data" in my form (just by adding this attribute, only -- no files are attached to the form) I get...

How to use TinyMCE 5 with Django?

There are no packages to support TinyMCE 5 for Django. The only available packages are version 3 or 4. I tried this guide https://www.tiny.cloud/docs/quick-start/ TinyMCE forms use native HTML and...

'django.contrib.messages.context_processors.messages' must be enabled in DjangoTemplates

When I try to migrate or createsuperuser in my project I get this error. SystemCheckError: System check identified some issues: ERRORS: ?: (admin.E404)...

Django/Webpack - How to serve generated webpack bundles with webpack dev server

Django's 'static' tag generates urls using STATIC_URL, which results in something like '/static/myapp/js/bundle.js' Mean while, webpack-dev-server is serving bundles from the url...

Django tinyMC failed to load in admin panel

I have problem with django-tinymce. This module doesnt load properly in admin panel and probably in normal form too. I used python manage.py collectstatic to collect static files. I'm running...

Django Lost connection to MySQL server during query

I have a Django Admin application that periodically gives "2013, 'Lost connection to MySQL server during query'" or "2027, 'Malformed packet'" exception at various pages without any obvious...

ImportError: cannot import name model

Hello everyone. This is the first time I ask for help on StackOverflow, so please forgive me if my question here is clear enough... I will gladly provide anything you ask me for in order to have a...

ImportError: Couldn't import Django after running " heroku python manage.py migrate" in CMD

I have a following error after running " heroku python manage.py migrate " in CMD. C:\Users\ky2001\Desktop\my_app>heroku run python manage.py migrate Running python3 manage.py migrate on ⬢...

Problem integraing Wiris math type and chem type with django using tiny mce editor

I am new to Django. I want to integrate wiris math type plugin in tinymce into the Django template. Same thing works in Laravel framework but in django it is giving problem. It is giving Failed...

GET /static/vendor/select2/dist/css/select2.css HTTP/1.1" 404 1832

I am trying to create a dropdown of countires which can be searchable based on this doc, however almost disappointed to find any solution by googling. I am using django-cities-light package and...

Django TinyMCE adding custom style formats

I would like to add a custom style format to the TinyMCE editor on my Python Django website, so I can set a block of text to have a custom CSS class. I am looking at the TinyMCE documentation on...

Conflicting with version dependencies when running pip install

Having issues with version dependencies when running pip install on docker. However, when installing on my mac without docker and just virtualenv, works perfectly fine. These are the versions I...

Django/Docker/Postgresql - psycopg2 error

hope you can help me with my following issues. This is my first time using docker and docker-compose. I'm trying to "dockerize" my Django project running on Postgresql database and I'm having an...