Cool, thanks, everything works now, even the ckeditor!
In my settings.py I'am using STATICFILES_DIRS, but in order for collectstatic to run, there has to be STATIC_ROOT instead of STATICFILES_DIRS.
So, maybe it will be helpful for someone else:
DJANGO-TINYMCE
pip2.7 install --user django-tinymce
(Change the 2.7 appropriately if you're using a different version of Python.)
in settings.py
INSTALLED_APPS = (
...
'tinymce',
)
in urls.py
urlpatterns = patterns(' ',
...
(r'^tinymce/', include('tinymce.urls')),
)
# or
urlpatterns = [
...
url(r'^tinymce/', include('tinymce.urls')),
]
in models.py
from django.db import models
from tinymce.models import HTMLField
class Post(models.Model):
...
post_text = HTMLField()
...
./manage.py collectstatic
result in admin panel
see above
DJANGO-CKEDITOR
pip2.7 install --user django-ckeditor
(Change the 2.7 appropriately if you're using a different version of Python.)
in settings.py
INSTALLED_APPS = (
...
'ckeditor',
)
....
STATIC_URL = '/static/'
MEDIA_URL = '/media/'
CKEDITOR_UPLOAD_PATH = "uploads/"
in urls.py
urlpatterns = patterns(' ',
...
(r'^ckeditor/', include('ckeditor_uploader.urls')),
)
# or
urlpatterns = [
...
url(r'^ckeditor/', include(''ckeditor_uploader.urls')),
]
in models.py
from django.db import models
from ckeditor.fields import RichTextField
class Post(models.Model):
...
post_text = RichTextField()
...
./manage.py collectstatic
result in admin panel
if you need more tools, add in settings.py:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': None,
},
}