From 5e559d180f51f11021e47e1dd25dd23fa89032b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Mali=C5=84ski?= Date: Tue, 7 Jul 2015 20:06:08 +0200 Subject: [PATCH] [close #198] Add a note about setting MEDIA_URL. --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index b2a758d..27de86c 100644 --- a/README.rst +++ b/README.rst @@ -38,6 +38,8 @@ Required CKEditor has been tested with django FileSystemStorage and S3BotoStorage. There are issues using S3Storage from django-storages. +#. For the default filesystem storage configuration ``MEDIA_ROOT`` and ``MEDIA_URL`` must be set correctly for the media files to work (like those uploaded by the ckeditor widget). + #. Run the ``collectstatic`` management command: ``$ ./manage.py collectstatic``. This'll copy static CKEditor require media resources into the directory given by the ``STATIC_ROOT`` setting. See `Django's documentation on managing static files `_ for more info. #. Add CKEditor URL include to your project's ``urls.py`` file::