summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Maliński <riklaunim@gmail.com>2015-07-07 18:06:08 (GMT)
committerPiotr Maliński <riklaunim@gmail.com>2015-07-07 18:06:08 (GMT)
commit5e559d180f51f11021e47e1dd25dd23fa89032b0 (patch)
tree90d86556f53c78aec1cba2b7bb076273fedcff6d
parent12c726dd7507738144a9faafeaa48bb69bf4f987 (diff)
downloaddjango-ckeditor-5e559d180f51f11021e47e1dd25dd23fa89032b0.zip
django-ckeditor-5e559d180f51f11021e47e1dd25dd23fa89032b0.tar.gz
django-ckeditor-5e559d180f51f11021e47e1dd25dd23fa89032b0.tar.bz2
[close #198] Add a note about setting MEDIA_URL.
-rw-r--r--README.rst2
1 files changed, 2 insertions, 0 deletions
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 <https://docs.djangoproject.com/en/dev/howto/static-files>`_ for more info.
#. Add CKEditor URL include to your project's ``urls.py`` file::